From: Jim Meyering Date: Thu, 20 May 1999 16:48:56 +0000 (+0000) Subject: Add test case from Paul Eggert. X-Git-Tag: TEXTUTILS-1_22m~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=559f32b40d00066926793d02d160e1dc3a61cfdd;p=thirdparty%2Fcoreutils.git Add test case from Paul Eggert. --- diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm index 21c74b1640..965184ec5e 100755 --- a/tests/sort/Test.pm +++ b/tests/sort/Test.pm @@ -206,6 +206,11 @@ my @tv = ( # From Paul Eggert. This was fixed in textutils-1.22k. ["neg-nls", '-n', "-1\n-9\n", "-9\n-1\n", 0], +# From Paul Eggert. This was fixed in textutils-1.22m. +# The bug was visible only when using the internationalized sorting code +# (i.e., not when configured with --disable-nls). +["nul-nls", '', "\0b\n\0a\n", "\0a\n\0b\n", 0], + ); sub test_vector