mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-07-25 10:16:53 +02:00
tests: add '--ignore-case' tests for uniq
* tests/misc/uniq.pl: add tests for --ignore-case.
This commit is contained in:
committed by
Pádraig Brady
parent
4c4f9e1173
commit
8682142ff2
@@ -199,6 +199,10 @@ my @Tests =
|
||||
# Check that --zero-terminated is synonymous with -z.
|
||||
['123', '--zero-terminated', {IN=>"a\na\nb"}, {OUT=>"a\na\nb\0"}],
|
||||
['124', '--zero-terminated', {IN=>"a\0a\0b"}, {OUT=>"a\0b\0"}],
|
||||
# Check ignore-case
|
||||
['125', '', {IN=>"A\na\n"}, {OUT=>"A\na\n"}],
|
||||
['126', '-i', {IN=>"A\na\n"}, {OUT=>"A\n"}],
|
||||
['127', '--ignore-case', {IN=>"A\na\n"}, {OUT=>"A\n"}],
|
||||
);
|
||||
|
||||
# Set _POSIX2_VERSION=199209 in the environment of each obs-plus* test.
|
||||
|
||||
Reference in New Issue
Block a user