"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ci/test-15-netdata.pl" between
fping-5.0.tar.gz and fping-5.1.tar.gz

About: fping quickly ping N number of hosts to determine their reachability without flooding the network.

test-15-netdata.pl  (fping-5.0):test-15-netdata.pl  (fping-5.1)
skipping to change at line 12 skipping to change at line 12
use Test::Command; use Test::Command;
use Test::More; use Test::More;
plan tests => 3; plan tests => 3;
# fping # fping
{ {
my $cmd = Test::Command->new(cmd => "fping -c 2 -Q 1 -N 127.0.0.1"); my $cmd = Test::Command->new(cmd => "fping -c 2 -Q 1 -N 127.0.0.1");
$cmd->exit_is_num(0); $cmd->exit_is_num(0);
$cmd->stdout_like(qr{CHART fping\.127_0_0_1_packets '' 'FPing Packets for host 1 27\.0\.0\.1' packets '127_0_0_1' fping\.packets line 110020 1 $cmd->stdout_like(qr{CHART fping\.127_0_0_1_packets '' 'FPing Packets for host 1 27\.0\.0\.1' packets '127.0.0.1' fping\.packets line 110020 1
DIMENSION xmt sent absolute 1 1 DIMENSION xmt sent absolute 1 1
DIMENSION rcv received absolute 1 1 DIMENSION rcv received absolute 1 1
BEGIN fping\.127_0_0_1_packets BEGIN fping\.127_0_0_1_packets
SET xmt = 1 SET xmt = 1
SET rcv = 1 SET rcv = 1
END END
CHART fping\.127_0_0_1_quality '' 'FPing Quality for host 127\.0\.0\.1' percenta ge '127_0_0_1' fping\.quality area 110010 1 CHART fping\.127_0_0_1_quality '' 'FPing Quality for host 127\.0\.0\.1' percenta ge '127.0.0.1' fping\.quality area 110010 1
DIMENSION returned '' absolute 1 1 DIMENSION returned '' absolute 1 1
BEGIN fping\.127_0_0_1_quality BEGIN fping\.127_0_0_1_quality
SET returned = 100 SET returned = 100
END END
CHART fping\.127_0_0_1_latency '' 'FPing Latency for host 127\.0\.0\.1' ms '127_ 0_0_1' fping\.latency area 110000 1 CHART fping\.127_0_0_1_latency '' 'FPing Latency for host 127\.0\.0\.1' ms '127. 0.0.1' fping\.latency area 110000 1
DIMENSION min minimum absolute 1 1000000 DIMENSION min minimum absolute 1 1000000
DIMENSION max maximum absolute 1 1000000 DIMENSION max maximum absolute 1 1000000
DIMENSION avg average absolute 1 1000000 DIMENSION avg average absolute 1 1000000
BEGIN fping\.127_0_0_1_latency BEGIN fping\.127_0_0_1_latency
SET min = \d+ SET min = \d+
SET avg = \d+ SET avg = \d+
SET max = \d+ SET max = \d+
END} END}
); );
$cmd->stderr_like(qr{127.0.0.1 : xmt/rcv/%loss = 2/2/0%, min/avg/max = \d\.\d+/\ d\.\d+/\d\.\d+}); $cmd->stderr_like(qr{127.0.0.1 : xmt/rcv/%loss = 2/2/0%, min/avg/max = \d\.\d+/\ d\.\d+/\d\.\d+});
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)