summaryrefslogtreecommitdiff
path: root/tests/sort/Test.pm
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-12-14 22:45:29 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-12-14 22:45:29 +0000
commitce1be021a75b31e21e554e3dca0c492e909852c3 (patch)
treefac2ab1781074af191c7484593f52e680f432117 /tests/sort/Test.pm
parentb0cee61e23518efffb619437bbca1ed427cd56e8 (diff)
downloadcoreutils-ce1be021a75b31e21e554e3dca0c492e909852c3.tar.xz
(incompat1, incompat2, incompat3): New tests.
Diffstat (limited to 'tests/sort/Test.pm')
-rwxr-xr-xtests/sort/Test.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm
index 31f34981d..301fe3fec 100755
--- a/tests/sort/Test.pm
+++ b/tests/sort/Test.pm
@@ -247,6 +247,11 @@ my @tv = (
# Specifying two -o options should evoke a failure
["o2", '-o x -o y', '', '', 2],
+# Specifying incompatible options should evoke a failure.
+["incompat1", '-in', '', '', 2],
+["incompat2", '-fR', '', '', 2],
+["incompat3", '-dfgiMnR', '', '', 2],
+
# -t '\0' is accepted, as of coreutils-5.0.91
['nul-tab', "-k2,2 -t '\\0'", "a\0z\01\nb\0y\02\n", "b\0y\02\na\0z\01\n", 0],
);