From 6503d273a2448176868ec13250e38dba223ae3c7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 4 Sep 2003 22:11:16 +0000 Subject: [PATCH] [o2, nul-tab]: New tests for changes of 2003-09-02. --- tests/sort/Test.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm index 2f42ec5..e331b6e 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 -- 2.7.4