busybox/shell/hush_test/hush-signals/continue_and_trap1.tests
Denys Vlasenko ff59b7b112 ash,hush: add a test that "continue" does not cripple traps
Both shells pass this test.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-01 23:28:02 +02:00

8 lines
102 B
Plaintext
Executable File

trap "echo Exiting; exit" INT
(sleep 1; kill -s INT $$) &
while continue; do
continue;
done