aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-03-20 12:12:33 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-03-20 12:12:33 +0000
commitfeecc7b74eeb36e66b57f191d337a68c1953576c (patch)
tree6caa327e0e37da1a66eadd21ea0c011b03f049e6
parenta8b6dff97f353c41e208e7e567f100a6c7af4605 (diff)
downloadbusybox-w32-feecc7b74eeb36e66b57f191d337a68c1953576c.tar.gz
busybox-w32-feecc7b74eeb36e66b57f191d337a68c1953576c.tar.bz2
busybox-w32-feecc7b74eeb36e66b57f191d337a68c1953576c.zip
hush: tweak testsuite
-rw-r--r--shell/hush_test/hush-parsing/starquoted2.right2
-rwxr-xr-xshell/hush_test/hush-parsing/starquoted2.tests4
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 @@
1Should be printed 1Should be printed
2Should be printed 2Should be printed
3Empty: 3Empty:
4Empty:
5Empty:
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
13for a in """$@"''"$@"''; do echo Should not be printed; done 13for a in """$@"''"$@"''; do echo Should not be printed; done
14for a in ""; do echo Should be printed; done 14for 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:
17printf 'Empty:%s\n' "$@"
18printf "Empty:%s\n" "$@"
17printf "Empty:%s\\n" "$@" 19printf "Empty:%s\\n" "$@"