diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-02 19:20:18 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-02 19:20:18 +0000 |
commit | 63f2e7dba0827e1af701659eb3d3fe2ffc640c24 (patch) | |
tree | 76acb7b1757da395accd0ddc85b1a21caf4fed94 /tests/fmt/basic | |
parent | 7747a57abcc9f2863018b7ff5acbd2d451ee0cfe (diff) | |
download | coreutils-63f2e7dba0827e1af701659eb3d3fe2ffc640c24.tar.xz |
make sure -72x elicits an error
Diffstat (limited to 'tests/fmt/basic')
-rwxr-xr-x | tests/fmt/basic | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/fmt/basic b/tests/fmt/basic index fb1c060b9..f138202ef 100755 --- a/tests/fmt/basic +++ b/tests/fmt/basic @@ -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}; |