diff options
author | Jim Meyering <jim@meyering.net> | 2001-05-19 08:43:57 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-05-19 08:43:57 +0000 |
commit | cfb5f2d82a1ecdd2cbe33c125798657c12597c5d (patch) | |
tree | a87823504af16002d75f27744fd798d4777348a6 | |
parent | 85601384c97f296e1eaada039e161ea12352c252 (diff) | |
download | coreutils-cfb5f2d82a1ecdd2cbe33c125798657c12597c5d.tar.xz |
Test new, --all-repeated options.
-rw-r--r-- | tests/uniq/Test.pm | 7 |
1 files changed, 7 insertions, 0 deletions
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 |