aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshell/hush_test/hush-vars/unset.tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/unset.tests b/shell/hush_test/hush-vars/unset.tests
index 81243fbf9..268323a6d 100755
--- a/shell/hush_test/hush-vars/unset.tests
+++ b/shell/hush_test/hush-vars/unset.tests
@@ -1,3 +1,5 @@
1(
2
1# check invalid options are rejected 3# check invalid options are rejected
2# bash: in posix mode, aborts if non-interactive 4# bash: in posix mode, aborts if non-interactive
3unset - 5unset -
@@ -37,3 +39,7 @@ unset VAR_RO
37echo $? $f $g 39echo $? $f $g
38unset f VAR_RO g 40unset f VAR_RO g
39echo $? $f $g 41echo $? $f $g
42
43) 2>&1 \
44| sed -e 's/ unrecognized option: / invalid option -- /' \
45 -e 's/ illegal option -- / invalid option -- /' \