From: Jim Meyering Date: Sun, 26 Jul 1998 02:55:53 +0000 (+0000) Subject: Add two tests. `sort -o no-file no-file' didn't fail. X-Git-Tag: FILEUTILS-3_16t~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cafbd3477a99b6684b340d79d107ca9fbb553654;p=thirdparty%2Fcoreutils.git Add two tests. `sort -o no-file no-file' didn't fail. --- diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm index be3332f922..71c8813139 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