Debian Codegraph @

ci/test-12-option-type.pl

raw
1 #!/usr/bin/perl -w
2
3 use Test::Command tests => 33;
4
5 for my $arg (qw(b B c C H i O p Q r t)) {
6 my $cmd = Test::Command->new(cmd => "fping -$arg xxx");
7 $cmd->exit_is_num(1);
8 $cmd->stdout_is_eq("");
9 $cmd->stderr_like(qr{Usage:});
10 }