diff options
-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 f4624dad5..e1562ed6d 100644 --- a/shell/hush_test/hush-parsing/starquoted2.right +++ b/shell/hush_test/hush-parsing/starquoted2.right | |||
@@ -1,3 +1,5 @@ | |||
1 | Should be printed | 1 | Should be printed |
2 | Should be printed | 2 | Should be printed |
3 | Empty: | 3 | Empty: |
4 | Empty: | ||
5 | 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 | |||
13 | for a in """$@"''"$@"''; do echo Should not be printed; done | 13 | for a in """$@"''"$@"''; do echo Should not be printed; done |
14 | for a in ""; do echo Should be printed; done | 14 | for a in ""; do echo Should be printed; done |
15 | 15 | ||
16 | # Bug 207: "$@" expands to nothing, and we erroneously glob "%s\\n" twice: | 16 | # Bug 207: "$@" expands to nothing, and we erroneously glob "%s\n" twice: |
17 | printf 'Empty:%s\n' "$@" | ||
18 | printf "Empty:%s\n" "$@" | ||
17 | printf "Empty:%s\\n" "$@" | 19 | printf "Empty:%s\\n" "$@" |