]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(incompat1, incompat2, incompat3): New tests.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Dec 2005 22:45:29 +0000 (22:45 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Dec 2005 22:45:29 +0000 (22:45 +0000)
tests/sort/Test.pm

index 31f34981def8c8957b7d261df8d1aebc14eac63e..301fe3fec99baf56b2edf7c4a48bad8a565d8646 100755 (executable)
@@ -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],
 );