From cafbd3477a99b6684b340d79d107ca9fbb553654 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 26 Jul 1998 02:55:53 +0000 Subject: Add two tests. `sort -o no-file no-file' didn't fail. --- tests/sort/Test.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/sort/Test.pm') diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm index be3332f92..71c881313 100755 --- a/tests/sort/Test.pm +++ b/tests/sort/Test.pm @@ -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 -- cgit v1.2.3-70-g09d2