From dccb1a53432aad9ef304f891817f658e58c67651 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 28 Jan 2007 16:59:30 +0000 Subject: wc can emit unpredictable amount of whitespace --- testsuite/wc/wc-counts-all | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testsuite/wc') 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' -- cgit v1.2.3