diff options
author | Denis Vlasenko | 2009-03-20 12:12:33 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-03-20 12:12:33 +0000 |
commit | feecc7b74eeb36e66b57f191d337a68c1953576c (patch) | |
tree | 6caa327e0e37da1a66eadd21ea0c011b03f049e6 /shell/hush_test/hush-parsing | |
parent | a8b6dff97f353c41e208e7e567f100a6c7af4605 (diff) | |
download | busybox-feecc7b74eeb36e66b57f191d337a68c1953576c.zip busybox-feecc7b74eeb36e66b57f191d337a68c1953576c.tar.gz |
hush: tweak testsuite
Diffstat (limited to 'shell/hush_test/hush-parsing')
-rw-r--r-- | shell/hush_test/hush-parsing/starquoted2.right | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-parsing/starquoted2.tests | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/shell/hush_test/hush-parsing/starquoted2.right b/shell/hush_test/hush-parsing/starquoted2.right index f4624da..e1562ed 100644 --- a/shell/hush_test/hush-parsing/starquoted2.right +++ b/shell/hush_test/hush-parsing/starquoted2.right @@ -1,3 +1,5 @@ Should be printed Should be printed Empty: +Empty: +Empty: diff --git a/shell/hush_test/hush-parsing/starquoted2.tests b/shell/hush_test/hush-parsing/starquoted2.tests index 3475ede..f305c4c 100755 --- a/shell/hush_test/hush-parsing/starquoted2.tests +++ b/shell/hush_test/hush-parsing/starquoted2.tests @@ -13,5 +13,7 @@ for a in """$@"; do echo Should not be printed; done for a in """$@"''"$@"''; do echo Should not be printed; done for a in ""; do echo Should be printed; done -# Bug 207: "$@" expands to nothing, and we erroneously glob "%s\\n" twice: +# Bug 207: "$@" expands to nothing, and we erroneously glob "%s\n" twice: +printf 'Empty:%s\n' "$@" +printf "Empty:%s\n" "$@" printf "Empty:%s\\n" "$@" |