summaryrefslogtreecommitdiff
path: root/tests/sort/Test.pm
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-05-20 16:48:56 +0000
committerJim Meyering <jim@meyering.net>1999-05-20 16:48:56 +0000
commit559f32b40d00066926793d02d160e1dc3a61cfdd (patch)
treea38f202d6906ea4907e56ead7f58b1d362f4b42a /tests/sort/Test.pm
parentbffbff4ff22d228ab24202cc267b04232e0ee821 (diff)
downloadcoreutils-559f32b40d00066926793d02d160e1dc3a61cfdd.tar.xz
Add test case from Paul Eggert.
Diffstat (limited to 'tests/sort/Test.pm')
-rwxr-xr-xtests/sort/Test.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm
index 21c74b164..965184ec5 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