aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-01-28 16:59:30 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-01-28 16:59:30 +0000
commitdccb1a53432aad9ef304f891817f658e58c67651 (patch)
tree00bbb4e7115772e6fa5d67e1e60dad5b5c32f276 /testsuite
parentafe488d4bc6469efd0dbab2d17daf00e2acf4ce8 (diff)
downloadbusybox-dccb1a53432aad9ef304f891817f658e58c67651.tar.gz
busybox-dccb1a53432aad9ef304f891817f658e58c67651.tar.bz2
wc can emit unpredictable amount of whitespace
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/wc/wc-counts-all3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/wc/wc-counts-all b/testsuite/wc/wc-counts-all
index 5e2cb6e4a..70836456c 100644
--- a/testsuite/wc/wc-counts-all
+++ b/testsuite/wc/wc-counts-all
@@ -1 +1,2 @@
-test "`echo i\'m a little teapot | busybox wc`" = ' 1 4 20'
+# 1 line, 4 words, 20 chars.
+test "`echo i\'m a little teapot | busybox wc | sed 's/ */ /g' | sed 's/^ //'`" = '1 4 20'