summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-05-14 08:35:57 +0000
committerJim Meyering <jim@meyering.net>2003-05-14 08:35:57 +0000
commit5413c2bbae8cc6a88aabdd6b731a1bcda6a0ef3f (patch)
treee61787a7f486bdccfdb22dd69808ba1ef838b3b1 /tests
parentc6ba6cc22e373bd245ae119d75010a3fbf544f22 (diff)
downloadcoreutils-5413c2bbae8cc6a88aabdd6b731a1bcda6a0ef3f.tar.xz
Test that 'uniq -d -u' outputs nothing.
Diffstat (limited to 'tests')
-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 5fbf8736b..c254ef2c4 100644
--- a/tests/uniq/Test.pm
+++ b/tests/uniq/Test.pm
@@ -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