summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-misc/exitcode_trap2.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-misc/exitcode_trap2.tests')
-rwxr-xr-xshell/ash_test/ash-misc/exitcode_trap2.tests3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/ash_test/ash-misc/exitcode_trap2.tests b/shell/ash_test/ash-misc/exitcode_trap2.tests
index f259774..aff6d51 100755
--- a/shell/ash_test/ash-misc/exitcode_trap2.tests
+++ b/shell/ash_test/ash-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:$?