shell/ash_test/ash-misc/exitcode_trap2.tests+1 -2
| @@ -3,7 +3,6 @@ |
| $THIS_SH -c ' |
| trap "false;exit" term |
| kill $$ & |
| - | (exit 42) |
| - | wait |
| + | (sleep 1; exit 42) |
| ' |
| echo 42:$? |
shell/ash_test/ash-misc/exitcode_trap6.tests+1 -2
| @@ -5,7 +5,6 @@ $THIS_SH -c ' |
| trap "echo INT" int |
| trap "kill -int $$;exit" term |
| kill $$ & |
| - | (exit 42) |
| - | wait |
| + | (sleep 1; exit 42) |
| ' |
| echo 42:$? |
shell/hush_test/hush-misc/exitcode_trap2.tests+1 -2
| @@ -3,7 +3,6 @@ |
| $THIS_SH -c ' |
| trap "false;exit" term |
| kill $$ & |
| - | (exit 42) |
| - | wait |
| + | (sleep 1; exit 42) |
| ' |
| echo 42:$? |
shell/hush_test/hush-misc/exitcode_trap6.tests+1 -2
| @@ -5,7 +5,6 @@ $THIS_SH -c ' |
| trap "echo INT" int |
| trap "kill -int $$;exit" term |
| kill $$ & |
| - | (exit 42) |
| - | wait |
| + | (sleep 1; exit 42) |
| ' |
| echo 42:$? |