diff options
Diffstat (limited to 'shell/hush_test/hush-misc/exitcode_trap2.tests')
-rwxr-xr-x | shell/hush_test/hush-misc/exitcode_trap2.tests | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/hush_test/hush-misc/exitcode_trap2.tests b/shell/hush_test/hush-misc/exitcode_trap2.tests index f259774..aff6d51 100755 --- a/shell/hush_test/hush-misc/exitcode_trap2.tests +++ b/shell/hush_test/hush-misc/exitcode_trap2.tests @@ -3,7 +3,6 @@ $THIS_SH -c ' trap "false;exit" term kill $$ & - (exit 42) - wait + (sleep 1; exit 42) ' echo 42:$? |