diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-05-19 16:35:56 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-05-19 16:35:56 +0200 |
commit | 30a4c32a4d21728a7e25025f70fcc1d7cd722fe0 (patch) | |
tree | bc08979dc8ad7827386579a69469abf53a14e2e7 /shell | |
parent | ef8985c688e9e5e9e8bc29f38d1f05f543c30acb (diff) |
hush: remove test for "echo ${-}" errorring out - now it works
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/ash_test/ash-vars/param_expand_default.tests | 1 | ||||
-rw-r--r-- | shell/hush_test/hush-vars/param_expand_default.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-vars/param_expand_default.tests | 2 |
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 b5edfe1c5..dbd3e2218 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 dbade3003..8bd0814b0 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 754827ab3..dbd3e2218 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 |