diff options
4 files changed, 4 insertions, 2 deletions
diff --git a/shell/ash_test/ash-vars/param_expand_bash_substring.right b/shell/ash_test/ash-vars/param_expand_bash_substring.right index 9ad6dbcad..687dd9002 100644 --- a/shell/ash_test/ash-vars/param_expand_bash_substring.right +++ b/shell/ash_test/ash-vars/param_expand_bash_substring.right | |||
@@ -3,6 +3,7 @@ SHELL: line 1: syntax error: bad substitution | |||
3 | SHELL: line 1: syntax error: bad substitution | 3 | SHELL: line 1: syntax error: bad substitution |
4 | SHELL: line 1: syntax error: bad substitution | 4 | SHELL: line 1: syntax error: bad substitution |
5 | SHELL: line 1: syntax error: missing '}' | 5 | SHELL: line 1: syntax error: missing '}' |
6 | 0 | ||
6 | 1 =|| | 7 | 1 =|| |
7 | 1:1 =|| | 8 | 1:1 =|| |
8 | 1:1:2=|| | 9 | 1:1:2=|| |
diff --git a/shell/ash_test/ash-vars/param_expand_bash_substring.tests b/shell/ash_test/ash-vars/param_expand_bash_substring.tests index cce9f123e..512da351b 100755 --- a/shell/ash_test/ash-vars/param_expand_bash_substring.tests +++ b/shell/ash_test/ash-vars/param_expand_bash_substring.tests | |||
@@ -11,7 +11,7 @@ export var=0123456789 | |||
11 | "$THIS_SH" -c 'echo ${var:}' SHELL | 11 | "$THIS_SH" -c 'echo ${var:}' SHELL |
12 | 12 | ||
13 | # then some funky ones | 13 | # then some funky ones |
14 | # UNFIXED BUG: this should work: "$THIS_SH" -c 'echo ${?:0}' | 14 | "$THIS_SH" -c 'echo ${?:0}' SHELL |
15 | 15 | ||
16 | # now some valid ones | 16 | # now some valid ones |
17 | set --; echo "1 =|${1}|" | 17 | set --; echo "1 =|${1}|" |
diff --git a/shell/hush_test/hush-vars/param_expand_bash_substring.right b/shell/hush_test/hush-vars/param_expand_bash_substring.right index 2f4c51d06..a3cb549f7 100644 --- a/shell/hush_test/hush-vars/param_expand_bash_substring.right +++ b/shell/hush_test/hush-vars/param_expand_bash_substring.right | |||
@@ -3,6 +3,7 @@ hush: syntax error: unterminated ${name} | |||
3 | hush: syntax error: unterminated ${name} | 3 | hush: syntax error: unterminated ${name} |
4 | hush: syntax error: unterminated ${name} | 4 | hush: syntax error: unterminated ${name} |
5 | 0123456789 | 5 | 0123456789 |
6 | 0 | ||
6 | 1 =|| | 7 | 1 =|| |
7 | 1:1 =|| | 8 | 1:1 =|| |
8 | 1:1:2=|| | 9 | 1:1:2=|| |
diff --git a/shell/hush_test/hush-vars/param_expand_bash_substring.tests b/shell/hush_test/hush-vars/param_expand_bash_substring.tests index cce9f123e..512da351b 100755 --- a/shell/hush_test/hush-vars/param_expand_bash_substring.tests +++ b/shell/hush_test/hush-vars/param_expand_bash_substring.tests | |||
@@ -11,7 +11,7 @@ export var=0123456789 | |||
11 | "$THIS_SH" -c 'echo ${var:}' SHELL | 11 | "$THIS_SH" -c 'echo ${var:}' SHELL |
12 | 12 | ||
13 | # then some funky ones | 13 | # then some funky ones |
14 | # UNFIXED BUG: this should work: "$THIS_SH" -c 'echo ${?:0}' | 14 | "$THIS_SH" -c 'echo ${?:0}' SHELL |
15 | 15 | ||
16 | # now some valid ones | 16 | # now some valid ones |
17 | set --; echo "1 =|${1}|" | 17 | set --; echo "1 =|${1}|" |