From: Jim Meyering Date: Thu, 24 Apr 2003 13:36:03 +0000 (+0000) Subject: (only-one): add another test X-Git-Tag: v5.0.1~654 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eafe3a687805445bc76bc6a9cca0ac99d6ef1e67;p=thirdparty%2Fcoreutils.git (only-one): add another test --- diff --git a/tests/tsort/basic-1 b/tests/tsort/basic-1 index 68340f07e5..0db65b9f2c 100755 --- a/tests/tsort/basic-1 +++ b/tests/tsort/basic-1 @@ -48,6 +48,11 @@ my @Tests = ['odd', {IN => "a\n"}, {EXIT => 1}, {ERR => "tsort: odd.1: input contains an odd number of tokens\n"}], + + ['only-one', {IN => {f => ""}}, {IN => {g => ""}}, + {EXIT => 1}, + {ERR => "tsort: only one argument may be specified\n" + . "Try `tsort --help' for more information.\n"}], ); my $save_temps = $ENV{DEBUG};