diff options
Diffstat (limited to 'shell/hush_test/hush-vars/param_expand_indicate_error.tests')
-rwxr-xr-x | shell/hush_test/hush-vars/param_expand_indicate_error.tests | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/hush_test/hush-vars/param_expand_indicate_error.tests b/shell/hush_test/hush-vars/param_expand_indicate_error.tests index 77834fedd..1f94181a9 100755 --- a/shell/hush_test/hush-vars/param_expand_indicate_error.tests +++ b/shell/hush_test/hush-vars/param_expand_indicate_error.tests @@ -12,8 +12,8 @@ "$THIS_SH" -c 'set --; echo _$1' "$THIS_SH" -c 'set --; echo _${1?}' "$THIS_SH" -c 'set --; echo _${1:?}' -"$THIS_SH" -c 'set --; echo _${1?word}' -"$THIS_SH" -c 'set --; echo _${1:?word}' +"$THIS_SH" -c 'set --; echo _${1?message1}' +"$THIS_SH" -c 'set --; echo _${1:?message1}' "$THIS_SH" -c 'set -- aaaa; echo _$1' "$THIS_SH" -c 'set -- aaaa; echo _${1?}' @@ -24,14 +24,14 @@ "$THIS_SH" -c 'unset f; echo _$f' "$THIS_SH" -c 'unset f; echo _${f?}' "$THIS_SH" -c 'unset f; echo _${f:?}' -"$THIS_SH" -c 'unset f; echo _${f?word}' -"$THIS_SH" -c 'unset f; echo _${f:?word}' +"$THIS_SH" -c 'unset f; echo _${f?message3}' +"$THIS_SH" -c 'unset f; echo _${f:?message3}' "$THIS_SH" -c 'f=; echo _$f' "$THIS_SH" -c 'f=; echo _${f?}' "$THIS_SH" -c 'f=; echo _${f:?}' "$THIS_SH" -c 'f=; echo _${f?word}' -"$THIS_SH" -c 'f=; echo _${f:?word}' +"$THIS_SH" -c 'f=; echo _${f:?message4}' "$THIS_SH" -c 'f=fff; echo _$f' "$THIS_SH" -c 'f=fff; echo _${f?}' |