projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lash: make -c work; crush buffer overrun and free of non-malloced ptr
[oweals/busybox.git]
/
testsuite
/
wc
/
wc-counts-all
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'