From cfb5f2d82a1ecdd2cbe33c125798657c12597c5d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 19 May 2001 08:43:57 +0000 Subject: Test new, --all-repeated options. --- tests/uniq/Test.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/uniq') diff --git a/tests/uniq/Test.pm b/tests/uniq/Test.pm index cf5e07c2d..119ecdb72 100644 --- a/tests/uniq/Test.pm +++ b/tests/uniq/Test.pm @@ -70,6 +70,13 @@ my @tv = ( ['110', '-D', "a\na\n", "a\na\n", 0], ['111', '-D -w1',"a a\na b\n", "a a\na b\n", 0], ['112', '-D -c', "a a\na b\n", "", 1], +['113', '--all-repeated=minimum', "a\na\n", "a\na\n", 0], +['114', '--all-repeated=minimum',"a\na\nb\nc\nc\n", "a\na\n\nc\nc\n", 0], +['115', '--all-repeated=minimum',"a\na\nb\nb\nc\n", "a\na\n\nb\nb\n", 0], +['116', '--all-repeated=all', "a\na\n", "\na\na\n", 0], +['117', '--all-repeated=all', "a\na\nb\nc\nc\n", "\na\na\n\nc\nc\n", 0], +['118', '--all-repeated=all', "a\nb\n", "", 0], +['119', '--all-repeated=badoption', "a\n", "", 1], ); sub test_vector -- cgit v1.2.3-70-g09d2