From feecc7b74eeb36e66b57f191d337a68c1953576c Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 20 Mar 2009 12:12:33 +0000 Subject: [PATCH] hush: tweak testsuite --- shell/hush_test/hush-parsing/starquoted2.right | 2 ++ shell/hush_test/hush-parsing/starquoted2.tests | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/shell/hush_test/hush-parsing/starquoted2.right b/shell/hush_test/hush-parsing/starquoted2.right index f4624dad5..e1562ed6d 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 3475edeb2..f305c4cd9 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" "$@" -- 2.25.1