summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/exitcode_trap6.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-misc/exitcode_trap6.tests')
-rwxr-xr-xshell/hush_test/hush-misc/exitcode_trap6.tests3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/hush_test/hush-misc/exitcode_trap6.tests b/shell/hush_test/hush-misc/exitcode_trap6.tests
index 15fb99d..59a07fc 100755
--- a/shell/hush_test/hush-misc/exitcode_trap6.tests
+++ b/shell/hush_test/hush-misc/exitcode_trap6.tests
@@ -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:$?