From 5413c2bbae8cc6a88aabdd6b731a1bcda6a0ef3f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 14 May 2003 08:35:57 +0000 Subject: Test that 'uniq -d -u' outputs nothing. --- tests/uniq/Test.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2