summaryrefslogtreecommitdiff
path: root/shell/ash_test
diff options
context:
space:
mode:
authorDenys Vlasenko2021-09-07 02:23:51 +0200
committerDenys Vlasenko2021-09-07 02:25:52 +0200
commite53c7dbafc78948e5c0d8d8ccb0bdcd9f936c62e (patch)
tree909286fc381d47fba921621afb809a84997815fc /shell/ash_test
parentf415e21a7dce1d4f4b760fddfaba85c551681e11 (diff)
downloadbusybox-e53c7dbafc78948e5c0d8d8ccb0bdcd9f936c62e.zip
busybox-e53c7dbafc78948e5c0d8d8ccb0bdcd9f936c62e.tar.gz
hush: fix set -n to act immediately, not just after run_list()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test')
-rwxr-xr-xshell/ash_test/ash-misc/exitcode_trap7.tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash_test/ash-misc/exitcode_trap7.tests b/shell/ash_test/ash-misc/exitcode_trap7.tests
index 9772a7b..f4b0eb5 100755
--- a/shell/ash_test/ash-misc/exitcode_trap7.tests
+++ b/shell/ash_test/ash-misc/exitcode_trap7.tests
@@ -1,6 +1,6 @@
$THIS_SH -c '
cleanup() { set +e; false; }
-set -eu
+set -e
trap cleanup EXIT
echo Start
'