summaryrefslogtreecommitdiff
path: root/tests/sort/Test.pm
diff options
context:
space:
mode:
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 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