Debian Codegraph @

ci/test-issue-58.pl

raw
1 #!/usr/bin/perl -w
2
3 # regression testing for github issue #58
4
5 use Test::Command tests => 3;
6
7 my $cmd1 = Test::Command->new(cmd => "fping -a -g 2001:db8:120:4161::4/64");
8 $cmd1->exit_is_num(1);
9 $cmd1->stdout_is_eq("");
10 $cmd1->stderr_is_eq("fping: -g works only with IPv4 addresses\n");