summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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],
);