svn commit: trunk/busybox/testsuite/wc

vda at busybox.net vda at busybox.net
Sun Jan 28 16:59:30 UTC 2007


Author: vda
Date: 2007-01-28 08:59:30 -0800 (Sun, 28 Jan 2007)
New Revision: 17603

Log:
wc can emit unpredictable amount of whitespace


Modified:
   trunk/busybox/testsuite/wc/wc-counts-all


Changeset:
Modified: trunk/busybox/testsuite/wc/wc-counts-all
===================================================================
--- trunk/busybox/testsuite/wc/wc-counts-all	2007-01-28 16:38:48 UTC (rev 17602)
+++ trunk/busybox/testsuite/wc/wc-counts-all	2007-01-28 16:59:30 UTC (rev 17603)
@@ -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'




More information about the busybox-cvs mailing list