summaryrefslogtreecommitdiff
path: root/tests/uniq
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-08-25 09:04:54 +0000
committerJim Meyering <jim@meyering.net>2001-08-25 09:04:54 +0000
commit18005e1153842a5e4437261dfc709bf61c10c3e3 (patch)
tree337a462efb8f5deb30eee509272e8a7d5915ac77 /tests/uniq
parenta2057e286e6974ea72b0fa95b38b0a7d772077dd (diff)
downloadcoreutils-18005e1153842a5e4437261dfc709bf61c10c3e3.tar.xz
Add tests for -s 0 and -w 0.
Diffstat (limited to 'tests/uniq')
-rw-r--r--tests/uniq/Test.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/uniq/Test.pm b/tests/uniq/Test.pm
index 4f087b8c7..95d7c79ad 100644
--- a/tests/uniq/Test.pm
+++ b/tests/uniq/Test.pm
@@ -50,6 +50,10 @@ my @tv = (
['53', '-s 1 -f 1',"a aaa\nb aaa\n", "a aaa\n", 0],
# Fixed in 2.0.15
['54', '-s 4', "abc\nabcd\n", "abc\n", 0],
+# Supported in 2.0.15
+['55', '-s 0', "abc\nabcd\n", "abc\nabcd\n", 0],
+['56', '-s 0', "abc\n", "abc\n", 0],
+['57', '-w 0', "abc\nabcd\n", "abc\n", 0],
# Only account for a number of characters
['60', '-w 1',"a a\nb a\n", "a a\nb a\n", 0],
['61', '-w 3',"a a\nb a\n", "a a\nb a\n", 0],