diff options
-rwxr-xr-x | tests/fmt/basic | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fmt/basic b/tests/fmt/basic index f138202ef..6429e00d8 100755 --- a/tests/fmt/basic +++ b/tests/fmt/basic @@ -31,6 +31,9 @@ my @Tests = ['wide-2', '-2147483647', {IN=> "a\n"}, {OUT=>"a\n"}], ['bad-suffix', '-72x', {IN=> ''}, {ERR => "fmt: invalid width option: `-72x'\n"}, {EXIT => 1}], + ['no-file', 'no-such-file', + {ERR => "fmt: cannot open `no-such-file' for reading:" + . " No such file or directory\n"}, {EXIT => 1}], ); my $save_temps = $ENV{DEBUG}; |