mirror of https://github.com/mirror/busybox.git
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>1_26_stable
parent
b98b4c103f
commit
ff59b7b112
|
@ -0,0 +1 @@
|
|||
Exiting
|
|
@ -0,0 +1,7 @@
|
|||
trap "echo Exiting; exit" INT
|
||||
|
||||
(sleep 1; kill -s INT $$) &
|
||||
|
||||
while continue; do
|
||||
continue;
|
||||
done
|
|
@ -0,0 +1 @@
|
|||
Exiting
|
|
@ -0,0 +1,7 @@
|
|||
trap "echo Exiting; exit" INT
|
||||
|
||||
(sleep 1; kill -s INT $$) &
|
||||
|
||||
while continue; do
|
||||
continue;
|
||||
done
|
Loading…
Reference in New Issue