hush/shell/hush_test/hush-vars/param_expand_indicate_error.right
Denys Vlasenko 3f78cec347 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>
2010-05-21 17:54:46 +02:00

44 lines
528 B
Plaintext

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
_fff
_fff