aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshell/ash_test/ash-misc/exitcode_trap2.tests3
-rwxr-xr-xshell/ash_test/ash-misc/exitcode_trap6.tests3
-rwxr-xr-xshell/hush_test/hush-misc/exitcode_trap2.tests3
-rwxr-xr-xshell/hush_test/hush-misc/exitcode_trap6.tests3
4 files changed, 4 insertions, 8 deletions
diff --git a/shell/ash_test/ash-misc/exitcode_trap2.tests b/shell/ash_test/ash-misc/exitcode_trap2.tests
index f259774bf..aff6d5187 100755
--- a/shell/ash_test/ash-misc/exitcode_trap2.tests
+++ b/shell/ash_test/ash-misc/exitcode_trap2.tests
@@ -3,7 +3,6 @@
3$THIS_SH -c ' 3$THIS_SH -c '
4 trap "false;exit" term 4 trap "false;exit" term
5 kill $$ & 5 kill $$ &
6 (exit 42) 6 (sleep 1; exit 42)
7 wait
8' 7'
9echo 42:$? 8echo 42:$?
diff --git a/shell/ash_test/ash-misc/exitcode_trap6.tests b/shell/ash_test/ash-misc/exitcode_trap6.tests
index 15fb99d2d..59a07fc91 100755
--- a/shell/ash_test/ash-misc/exitcode_trap6.tests
+++ b/shell/ash_test/ash-misc/exitcode_trap6.tests
@@ -5,7 +5,6 @@ $THIS_SH -c '
5 trap "echo INT" int 5 trap "echo INT" int
6 trap "kill -int $$;exit" term 6 trap "kill -int $$;exit" term
7 kill $$ & 7 kill $$ &
8 (exit 42) 8 (sleep 1; exit 42)
9 wait
10' 9'
11echo 42:$? 10echo 42:$?
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 @@
3$THIS_SH -c ' 3$THIS_SH -c '
4 trap "false;exit" term 4 trap "false;exit" term
5 kill $$ & 5 kill $$ &
6 (exit 42) 6 (sleep 1; exit 42)
7 wait
8' 7'
9echo 42:$? 8echo 42:$?
diff --git a/shell/hush_test/hush-misc/exitcode_trap6.tests b/shell/hush_test/hush-misc/exitcode_trap6.tests
index 15fb99d2d..59a07fc91 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 '
5 trap "echo INT" int 5 trap "echo INT" int
6 trap "kill -int $$;exit" term 6 trap "kill -int $$;exit" term
7 kill $$ & 7 kill $$ &
8 (exit 42) 8 (sleep 1; exit 42)
9 wait
10' 9'
11echo 42:$? 10echo 42:$?