hush: tweak testsuite

This commit is contained in:
Denis Vlasenko 2009-03-20 12:12:33 +00:00
parent a8b6dff97f
commit feecc7b74e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,5 @@
Should be printed
Should be printed
Empty:
Empty:
Empty:

View File

@ -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" "$@"