summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2019-05-19 16:35:56 +0200
committerDenys Vlasenko2019-05-19 16:35:56 +0200
commit30a4c32a4d21728a7e25025f70fcc1d7cd722fe0 (patch)
treebc08979dc8ad7827386579a69469abf53a14e2e7
parentef8985c688e9e5e9e8bc29f38d1f05f543c30acb (diff)
downloadbusybox-30a4c32a4d21728a7e25025f70fcc1d7cd722fe0.zip
busybox-30a4c32a4d21728a7e25025f70fcc1d7cd722fe0.tar.gz
hush: remove test for "echo ${-}" errorring out - now it works
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xshell/ash_test/ash-vars/param_expand_default.tests1
-rw-r--r--shell/hush_test/hush-vars/param_expand_default.right1
-rwxr-xr-xshell/hush_test/hush-vars/param_expand_default.tests2
3 files changed, 0 insertions, 4 deletions
diff --git a/shell/ash_test/ash-vars/param_expand_default.tests b/shell/ash_test/ash-vars/param_expand_default.tests
index b5edfe1..dbd3e22 100755
--- a/shell/ash_test/ash-vars/param_expand_default.tests
+++ b/shell/ash_test/ash-vars/param_expand_default.tests
@@ -1,6 +1,5 @@
# first try some invalid patterns (do in subshell due to parsing error)
# (set argv0 to "SHELL" to avoid "/path/to/shell: blah" in error messages)
-# valid in bash and ash (same as $-): "$THIS_SH" -c 'echo ${-}' SHELL
"$THIS_SH" -c 'echo ${:-}' SHELL
# now some funky ones
diff --git a/shell/hush_test/hush-vars/param_expand_default.right b/shell/hush_test/hush-vars/param_expand_default.right
index dbade30..8bd0814 100644
--- a/shell/hush_test/hush-vars/param_expand_default.right
+++ b/shell/hush_test/hush-vars/param_expand_default.right
@@ -1,5 +1,4 @@
hush: syntax error: unterminated ${name}
-hush: syntax error: unterminated ${name}
_0 _0
_ _ _ _word _word
_aaaa _aaaa _aaaa _aaaa _aaaa
diff --git a/shell/hush_test/hush-vars/param_expand_default.tests b/shell/hush_test/hush-vars/param_expand_default.tests
index 754827a..dbd3e22 100755
--- a/shell/hush_test/hush-vars/param_expand_default.tests
+++ b/shell/hush_test/hush-vars/param_expand_default.tests
@@ -1,7 +1,5 @@
# first try some invalid patterns (do in subshell due to parsing error)
# (set argv0 to "SHELL" to avoid "/path/to/shell: blah" in error messages)
-# valid in bash and ash (same as $-), not supported in hush (yet?):
-"$THIS_SH" -c 'echo ${-}' SHELL
"$THIS_SH" -c 'echo ${:-}' SHELL
# now some funky ones