summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-04 22:11:16 +0000
committerJim Meyering <jim@meyering.net>2003-09-04 22:11:16 +0000
commit6503d273a2448176868ec13250e38dba223ae3c7 (patch)
tree85da53c91490c6531236bbd163fd1b63fcbd3bb6 /tests
parent169a0a3f49a573e5d72c53f9e9910f29f263e47b (diff)
downloadcoreutils-6503d273a2448176868ec13250e38dba223ae3c7.tar.xz
[o2, nul-tab]: New tests for changes of 2003-09-02.
Diffstat (limited to 'tests')
-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 2f42ec584..e331b6eb2 100755
--- a/tests/sort/Test.pm
+++ b/tests/sort/Test.pm
@@ -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