]> git.gsnw.org Git - fping.git/commitdiff
add test for issue #56
authorDavid Schweikert <david@schweikert.ch>
Wed, 5 Mar 2014 09:09:45 +0000 (10:09 +0100)
committerDavid Schweikert <david@schweikert.ch>
Wed, 5 Mar 2014 09:09:45 +0000 (10:09 +0100)
ci/test-issue-56.pl

index 3f75408fb4591bace6205312eb2b6084a15d292c..e1806bb0d379bba8baafb5e59323dc57138d6ad8 100755 (executable)
@@ -4,7 +4,7 @@
 
 use Test::Command tests => 3;
 
-my $cmd1 = Test::Command->new(cmd => "fping -t100 -p100 -c3 192.168.255.255");
+my $cmd1 = Test::Command->new(cmd => "fping -t100 -p100 -C3 255.255.255.255");
 $cmd1->exit_is_num(1);
 $cmd1->stdout_is_eq("");
-$cmd1->stderr_is_eq("\n192.168.255.255 : xmt/rcv/%loss = 3/0/100%\n");
+$cmd1->stderr_is_eq("\n255.255.255.255 : - - -\n");