we arent testing `echo -n` here so use printf instead
[oweals/busybox.git] / shell / hush_test / hush-parsing / starquoted2.tests
index 782d71b88148a87188ad9d86137be11f5e4cf716..f305c4cd99c4865bf60eea1f33923d1e475845df 100755 (executable)
@@ -12,3 +12,8 @@ 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 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:
+printf 'Empty:%s\n' "$@"
+printf "Empty:%s\n" "$@"
+printf "Empty:%s\\n" "$@"