]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add two tests. `sort -o no-file no-file' didn't fail.
authorJim Meyering <jim@meyering.net>
Sun, 26 Jul 1998 02:55:53 +0000 (02:55 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 26 Jul 1998 02:55:53 +0000 (02:55 +0000)
tests/sort/Test.pm

index be3332f9224cf0f0e2df2a2cb5481fbe361c1e0f..71c88131393c893f5eaf1b417bf9c71e8c8322b4 100755 (executable)
@@ -198,6 +198,11 @@ my @tv = (
 ["22a", '-k 2,2fd -k 1,1r', "3 b\n4 B\n", "4 B\n3 b\n", 0],
 ["22b", '-k 2,2d  -k 1,1r', "3 b\n4 b\n", "4 b\n3 b\n", 0],
 
+["no-file1", 'no-file', {}, '', 2],
+# This test failed until 1.22f.  Sort didn't give an error.
+# From Will Edgington.
+["o-no-file1", '-o no-such-file no-such-file', {}, '', 2],
+
 );
 
 sub test_vector