summaryrefslogtreecommitdiff
path: root/tests/uniq
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-08-25 05:48:19 +0000
committerJim Meyering <jim@meyering.net>2001-08-25 05:48:19 +0000
commitb087829d9b0eb660d77b5a23c78d756ce42a8a6f (patch)
tree955bdfed74e403d279922956b800ca9e901bebfa /tests/uniq
parenta6cac026c65a0b48f8ea721925619265231712c5 (diff)
downloadcoreutils-b087829d9b0eb660d77b5a23c78d756ce42a8a6f.tar.xz
Add new test, #54, for the just-fixed bug.
Diffstat (limited to 'tests/uniq')
-rw-r--r--tests/uniq/Test.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/uniq/Test.pm b/tests/uniq/Test.pm
index a94c0fc5c..4f087b8c7 100644
--- a/tests/uniq/Test.pm
+++ b/tests/uniq/Test.pm
@@ -48,6 +48,8 @@ my @tv = (
['51', '-f 1 -s 1',"a aaa\nb aaa\n", "a aaa\n", 0],
['52', '-s 1 -f 1',"a aaa\nb ab\n", "a aaa\nb ab\n", 0],
['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],
# 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],