hush: remove test for "echo ${-}" errorring out - now it works
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
ef8985c688
commit
30a4c32a4d
@ -1,6 +1,5 @@
|
|||||||
# first try some invalid patterns (do in subshell due to parsing error)
|
# 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)
|
# (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
|
"$THIS_SH" -c 'echo ${:-}' SHELL
|
||||||
|
|
||||||
# now some funky ones
|
# now some funky ones
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
hush: syntax error: unterminated ${name}
|
hush: syntax error: unterminated ${name}
|
||||||
hush: syntax error: unterminated ${name}
|
|
||||||
_0 _0
|
_0 _0
|
||||||
_ _ _ _word _word
|
_ _ _ _word _word
|
||||||
_aaaa _aaaa _aaaa _aaaa _aaaa
|
_aaaa _aaaa _aaaa _aaaa _aaaa
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
# first try some invalid patterns (do in subshell due to parsing error)
|
# 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)
|
# (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
|
"$THIS_SH" -c 'echo ${:-}' SHELL
|
||||||
|
|
||||||
# now some funky ones
|
# now some funky ones
|
||||||
|
Loading…
Reference in New Issue
Block a user