From: David Schweikert Date: Wed, 5 Mar 2014 09:09:45 +0000 (+0100) Subject: add test for issue #56 X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fa8c4c17544da106534dc5b0086299cc290d158;p=fping.git add test for issue #56 --- diff --git a/ci/test-issue-56.pl b/ci/test-issue-56.pl index 3f75408..e1806bb 100755 --- a/ci/test-issue-56.pl +++ b/ci/test-issue-56.pl @@ -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");