← Commit list

aea52e7b2

Denys Vlasenko
Denys Vlasenko
2018-01-13
SUCCESS Duration: 143s

Subject

shell: echo ${?:0} was fixed sometime ago, enable it in tests

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash_test/ash-vars/param_expand_bash_substring.right+1 -0
@@ -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: missing '}'
+0
1 =||
1:1 =||
1:1:2=||
shell/ash_test/ash-vars/param_expand_bash_substring.tests+1 -1
@@ -11,7 +11,7 @@ export var=0123456789
"$THIS_SH" -c 'echo ${var:}' SHELL
# then some funky ones
-# UNFIXED BUG: this should work: "$THIS_SH" -c 'echo ${?:0}'
+"$THIS_SH" -c 'echo ${?:0}' SHELL
# now some valid ones
set --; echo "1 =|${1}|"
shell/hush_test/hush-vars/param_expand_bash_substring.right+1 -0
@@ -3,6 +3,7 @@ hush: syntax error: unterminated ${name}
hush: syntax error: unterminated ${name}
hush: syntax error: unterminated ${name}
0123456789
+0
1 =||
1:1 =||
1:1:2=||
shell/hush_test/hush-vars/param_expand_bash_substring.tests+1 -1
@@ -11,7 +11,7 @@ export var=0123456789
"$THIS_SH" -c 'echo ${var:}' SHELL
# then some funky ones
-# UNFIXED BUG: this should work: "$THIS_SH" -c 'echo ${?:0}'
+"$THIS_SH" -c 'echo ${?:0}' SHELL
# now some valid ones
set --; echo "1 =|${1}|"