1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-17 17:18:45 +02:00

make sure -72x elicits an error

This commit is contained in:
Jim Meyering
2003-05-02 19:20:18 +00:00
parent 7747a57abc
commit 63f2e7dba0

View File

@@ -29,6 +29,8 @@ my @Tests =
{OUT=>"ça b\n"}],
['wide-1', '-32768', {IN=> "a\n"}, {OUT=>"a\n"}],
['wide-2', '-2147483647', {IN=> "a\n"}, {OUT=>"a\n"}],
['bad-suffix', '-72x', {IN=> ''},
{ERR => "fmt: invalid width option: `-72x'\n"}, {EXIT => 1}],
);
my $save_temps = $ENV{DEBUG};