diff options
author | Jim Meyering <jim@meyering.net> | 1999-05-22 02:37:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-05-22 02:37:10 +0000 |
commit | 157c31573ecc6b3428958291edd1f0ebf3daffe4 (patch) | |
tree | 20a7c3b1f3696356dd483d0603055c3562b0dc81 /tests/sort | |
parent | 67fbe7e2a0c3b2e67d065ec46c0e9ed200eeb645 (diff) | |
download | coreutils-157c31573ecc6b3428958291edd1f0ebf3daffe4.tar.xz |
(11d): Reverse lines in expected output to reflect latest change.
Diffstat (limited to 'tests/sort')
-rwxr-xr-x | tests/sort/Test.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm index 965184ec5..3a5ff21ca 100755 --- a/tests/sort/Test.pm +++ b/tests/sort/Test.pm @@ -114,7 +114,10 @@ my @tv = ( ["11a", '-t: -k1,1b -k2,2', "a\t:a\na :b\n", "a\t:a\na :b\n", 0], ["11b", '-t: -k1,1b -k2,2', "a :b\na\t:a\n", "a\t:a\na :b\n", 0], ["11c", '-t: -k2,2b -k3,3', "z:a\t:a\na :b\n", "z:a\t:a\na :b\n", 0], -["11d", '-t: -k2,2b -k3,3', "z:a :b\na\t:a\n", "a\t:a\nz:a :b\n", 0], +# Before 1.22m, the first key comparison reported equality. +# With 1.22m, they compare different: "a" sorts before "a\n". +# And the second key spec isn't even used. +["11d", '-t: -k2,2b -k3,3', "z:a :b\na\t:a\n", "z:a :b\na\t:a\n", 0], # # Exercise bug re comparing `-' and integers. ["12a", '-n -t: +1', "a:1\nb:-\n", "b:-\na:1\n", 0], |