aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-misc/exitcode_trap2.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-misc/exitcode_trap2.tests')
-rwxr-xr-xshell/hush_test/hush-misc/exitcode_trap2.tests3
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 f259774bf..aff6d5187 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:$?