diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-09-24 11:55:20 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-09-24 11:55:57 -0700 |
commit | 4d8c4dfc2170bde7a25bbf5db6dd2d6e54b43fac (patch) | |
tree | 62d4ff8d5d92f3bbf500073fff02ee794649f18a /tests | |
parent | b47231be6813e6cb5305266e391b4bb745f27f13 (diff) | |
download | coreutils-4d8c4dfc2170bde7a25bbf5db6dd2d6e54b43fac.tar.xz |
test: check for Fedora 20 sort key bug
Problem reported by Göran Uddeborg in: http://bugs.gnu.org/18540
* tests/misc/sort.pl: New test 23.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/misc/sort.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/misc/sort.pl b/tests/misc/sort.pl index db7320949..3961f4f27 100755 --- a/tests/misc/sort.pl +++ b/tests/misc/sort.pl @@ -317,6 +317,10 @@ my @Tests = ["22a", '-k 2,2fd -k 1,1r', {IN=>"3 b\n4 B\n"}, {OUT=>"4 B\n3 b\n"}], ["22b", '-k 2,2d -k 1,1r', {IN=>"3 b\n4 b\n"}, {OUT=>"4 b\n3 b\n"}], +# This fails in Fedora 20, per Göran Uddeborg in: http://bugs.gnu.org/18540 +["23", '-s -k1,1 -t/', {IN=>"a b/x\na-b-c/x\n"}, {OUT=>"a b/x\na-b-c/x\n"}, + {ENV => "LC_ALL=$mb_locale"}], + ["no-file1", 'no-file', {EXIT=>2}, {ERR=>$no_file}], # This test failed until 1.22f. Sort didn't give an error. # From Will Edgington. |