From: Jim Meyering Date: Wed, 14 May 2003 08:35:57 +0000 (+0000) Subject: Test that 'uniq -d -u' outputs nothing. X-Git-Tag: v5.0.1~482 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5413c2bbae8cc6a88aabdd6b731a1bcda6a0ef3f;p=thirdparty%2Fcoreutils.git Test that 'uniq -d -u' outputs nothing. --- diff --git a/tests/uniq/Test.pm b/tests/uniq/Test.pm index 5fbf8736b4..c254ef2c47 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