From 4d8c4dfc2170bde7a25bbf5db6dd2d6e54b43fac Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 24 Sep 2014 11:55:20 -0700 Subject: test: check for Fedora 20 sort key bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem reported by Göran Uddeborg in: http://bugs.gnu.org/18540 * tests/misc/sort.pl: New test 23. --- tests/misc/sort.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/misc') 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. -- cgit v1.2.3-70-g09d2