aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-vars/param_expand_indicate_error.right
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-21 17:54:46 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-21 17:54:46 +0200
commit3f78cec34745069cf0a92a16dfccff66d98ef5ba (patch)
tree1b2b8cd18d3ecfa92b9ae6b5fde3e66366da0cf7 /shell/hush_test/hush-vars/param_expand_indicate_error.right
parent349ef96bb5eae3c487884dd0e88c84a6ba0a1efa (diff)
downloadbusybox-3f78cec34745069cf0a92a16dfccff66d98ef5ba.tar.gz
hush: handle expansions in ${var?expanded_word} constructs
function old new delta expand_vars_to_list 2209 2229 +20 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-vars/param_expand_indicate_error.right')
-rw-r--r--shell/hush_test/hush-vars/param_expand_indicate_error.right15
1 files changed, 15 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/param_expand_indicate_error.right b/shell/hush_test/hush-vars/param_expand_indicate_error.right
index 590bb2001..06fcc5104 100644
--- a/shell/hush_test/hush-vars/param_expand_indicate_error.right
+++ b/shell/hush_test/hush-vars/param_expand_indicate_error.right
@@ -1,26 +1,41 @@
hush: syntax error: unterminated ${name}
0
0
+====
_
hush: 1: parameter null or not set
hush: 1: parameter null or not set
hush: 1: message1
hush: 1: message1
+hush: 1: unset!
+hush: 1: null or unset!
+====
_aaaa
_aaaa
_aaaa
_aaaa
_aaaa
+_aaaa
+_aaaa
+====
_
hush: f: parameter null or not set
hush: f: parameter null or not set
hush: f: message3
hush: f: message3
+hush: f: unset!
+hush: f: null or unset!
+====
_
_
hush: f: parameter null or not set
_
hush: f: message4
+_
+hush: f: null or unset!
+====
+_fff
+_fff
_fff
_fff
_fff