diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-30 23:11:20 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-30 23:11:20 +0000 |
commit | 6fd181afd97102bb355120d6a384a9fd5de932c8 (patch) | |
tree | e258582c0f14f06750e480e2c244260e79860fd0 /testsuite/wc | |
parent | 99f25757d3ddfdbe764f04ee037b19b748b7caec (diff) | |
download | busybox-w32-6fd181afd97102bb355120d6a384a9fd5de932c8.tar.gz busybox-w32-6fd181afd97102bb355120d6a384a9fd5de932c8.tar.bz2 busybox-w32-6fd181afd97102bb355120d6a384a9fd5de932c8.zip |
Merge test suite.
git-svn-id: svn://busybox.net/trunk/busybox@3603 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'testsuite/wc')
-rw-r--r-- | testsuite/wc/wc-counts-all | 1 | ||||
-rw-r--r-- | testsuite/wc/wc-counts-characters | 1 | ||||
-rw-r--r-- | testsuite/wc/wc-counts-lines | 1 | ||||
-rw-r--r-- | testsuite/wc/wc-counts-words | 1 | ||||
-rw-r--r-- | testsuite/wc/wc-prints-longest-line-length | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/wc/wc-counts-all b/testsuite/wc/wc-counts-all new file mode 100644 index 000000000..5e2cb6e4a --- /dev/null +++ b/testsuite/wc/wc-counts-all | |||
@@ -0,0 +1 @@ | |||
test "`echo i\'m a little teapot | busybox wc`" = ' 1 4 20' | |||
diff --git a/testsuite/wc/wc-counts-characters b/testsuite/wc/wc-counts-characters new file mode 100644 index 000000000..755864684 --- /dev/null +++ b/testsuite/wc/wc-counts-characters | |||
@@ -0,0 +1 @@ | |||
test `echo i\'m a little teapot | busybox wc -c` -eq 20 | |||
diff --git a/testsuite/wc/wc-counts-lines b/testsuite/wc/wc-counts-lines new file mode 100644 index 000000000..5be6ed089 --- /dev/null +++ b/testsuite/wc/wc-counts-lines | |||
@@ -0,0 +1 @@ | |||
test `echo i\'m a little teapot | busybox wc -l` -eq 1 | |||
diff --git a/testsuite/wc/wc-counts-words b/testsuite/wc/wc-counts-words new file mode 100644 index 000000000..331650e95 --- /dev/null +++ b/testsuite/wc/wc-counts-words | |||
@@ -0,0 +1 @@ | |||
test `echo i\'m a little teapot | busybox wc -w` -eq 4 | |||
diff --git a/testsuite/wc/wc-prints-longest-line-length b/testsuite/wc/wc-prints-longest-line-length new file mode 100644 index 000000000..78831fc13 --- /dev/null +++ b/testsuite/wc/wc-prints-longest-line-length | |||
@@ -0,0 +1 @@ | |||
test `echo i\'m a little teapot | busybox wc -L` -eq 19 | |||