diff options
author | Jim Meyering <jim@meyering.net> | 1997-10-10 21:20:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-10-10 21:20:27 +0000 |
commit | d7f5a724cac60d7bc80175aa42c2eec5becf9ba1 (patch) | |
tree | c3647e4d450fa9a433c6ed3e9f202f5c1ea7a224 /tests/sort | |
parent | b9b4d6b1695946f2200a0891a75b31039f05d25a (diff) | |
download | coreutils-d7f5a724cac60d7bc80175aa42c2eec5becf9ba1.tar.xz |
Add a test.
From William Lewis.
Diffstat (limited to 'tests/sort')
-rwxr-xr-x | tests/sort/Test.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm index 1419147e6..fa120c8c6 100755 --- a/tests/sort/Test.pm +++ b/tests/sort/Test.pm @@ -157,6 +157,16 @@ my @tv = ( # more-intuitive POSIX-style -k options. ["19b", '-k1,1 -k2nr', "b 2\nb 1\nb 3\n", "b 3\nb 2\nb 1\n", 0], +# This test failed when sort-1.22 was compiled on a Next x86 system +# without optimization. Without optimization gcc uses the buggy version +# of memcmp in the Next C library. With optimization, gcc uses its +# (working) builtin version. Test case form William Lewis. +["20a", '', + "_________U__free\n_________U__malloc\n_________U__abort\n_________U__memcpy\n_________U__memset\n_________U_dyld_stub_binding_helper\n_________U__malloc\n_________U___iob\n_________U__abort\n_________U__fprintf\n", + "_________U___iob\n_________U__abort\n_________U__abort\n_________U__fprintf\n_________U__free\n_________U__malloc\n_________U__malloc\n_________U__memcpy\n_________U__memset\n_________U_dyld_stub_binding_helper\n", + 0], + + ); sub test_vector |