shell: echo ${?:0} was fixed sometime ago, enable it in tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
9809a82b59
commit
aea52e7b2d
@ -3,6 +3,7 @@ SHELL: line 1: syntax error: bad substitution
|
|||||||
SHELL: line 1: syntax error: bad substitution
|
SHELL: line 1: syntax error: bad substitution
|
||||||
SHELL: line 1: syntax error: bad substitution
|
SHELL: line 1: syntax error: bad substitution
|
||||||
SHELL: line 1: syntax error: missing '}'
|
SHELL: line 1: syntax error: missing '}'
|
||||||
|
0
|
||||||
1 =||
|
1 =||
|
||||||
1:1 =||
|
1:1 =||
|
||||||
1:1:2=||
|
1:1:2=||
|
||||||
|
@ -11,7 +11,7 @@ export var=0123456789
|
|||||||
"$THIS_SH" -c 'echo ${var:}' SHELL
|
"$THIS_SH" -c 'echo ${var:}' SHELL
|
||||||
|
|
||||||
# then some funky ones
|
# then some funky ones
|
||||||
# UNFIXED BUG: this should work: "$THIS_SH" -c 'echo ${?:0}'
|
"$THIS_SH" -c 'echo ${?:0}' SHELL
|
||||||
|
|
||||||
# now some valid ones
|
# now some valid ones
|
||||||
set --; echo "1 =|${1}|"
|
set --; echo "1 =|${1}|"
|
||||||
|
@ -3,6 +3,7 @@ hush: syntax error: unterminated ${name}
|
|||||||
hush: syntax error: unterminated ${name}
|
hush: syntax error: unterminated ${name}
|
||||||
hush: syntax error: unterminated ${name}
|
hush: syntax error: unterminated ${name}
|
||||||
0123456789
|
0123456789
|
||||||
|
0
|
||||||
1 =||
|
1 =||
|
||||||
1:1 =||
|
1:1 =||
|
||||||
1:1:2=||
|
1:1:2=||
|
||||||
|
@ -11,7 +11,7 @@ export var=0123456789
|
|||||||
"$THIS_SH" -c 'echo ${var:}' SHELL
|
"$THIS_SH" -c 'echo ${var:}' SHELL
|
||||||
|
|
||||||
# then some funky ones
|
# then some funky ones
|
||||||
# UNFIXED BUG: this should work: "$THIS_SH" -c 'echo ${?:0}'
|
"$THIS_SH" -c 'echo ${?:0}' SHELL
|
||||||
|
|
||||||
# now some valid ones
|
# now some valid ones
|
||||||
set --; echo "1 =|${1}|"
|
set --; echo "1 =|${1}|"
|
||||||
|
Loading…
Reference in New Issue
Block a user