projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe488d
)
wc can emit unpredictable amount of whitespace
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 28 Jan 2007 16:59:30 +0000
(16:59 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 28 Jan 2007 16:59:30 +0000
(16:59 -0000)
testsuite/wc/wc-counts-all
patch
|
blob
|
history
diff --git
a/testsuite/wc/wc-counts-all
b/testsuite/wc/wc-counts-all
index 5e2cb6e4af07e2bf222c00b241fed67d26b3bcad..70836456c340ad61e37065998fc0723acd6b530a 100644
(file)
--- 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'