]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Test that 'uniq -d -u' outputs nothing.
authorJim Meyering <jim@meyering.net>
Wed, 14 May 2003 08:35:57 +0000 (08:35 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 14 May 2003 08:35:57 +0000 (08:35 +0000)
tests/uniq/Test.pm

index 5fbf8736b43a1c54247c232e8325ba63f3a373e6..c254ef2c470bbbc4e78768a4b5e396121ce81810 100644 (file)
@@ -83,6 +83,8 @@ my @tv = (
 ['117', '--all-repeated=prepend', "a\na\nb\nc\nc\n", "\na\na\n\nc\nc\n", 0],
 ['118', '--all-repeated=prepend', "a\nb\n",          "",                 0],
 ['119', '--all-repeated=badoption', "a\n",           "",                 1],
+# Check that -d and -u suppress all output, as POSIX requires.
+['120', '-d -u', "a\na\n\b",        "",                         0],
 );
 
 sub test_vector