[o2, nul-tab]: New tests for changes of 2003-09-02.
authorJim Meyering <jim@meyering.net>
Thu, 4 Sep 2003 22:11:16 +0000 (22:11 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 4 Sep 2003 22:11:16 +0000 (22:11 +0000)
tests/sort/Test.pm

index 2f42ec5..e331b6e 100755 (executable)
@@ -243,6 +243,11 @@ my @tv = (
 # \n's are part of the input line.
 ["use-nl", '', "\n\t\n", "\n\t\n", 0],
 
+# Specifying two -o options should evoke a failure
+["o2", '-o x -o y', '', '', 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],
 );
 
 sub test_vector