diff --git a/ci/test-09-option-r-t.pl b/ci/test-09-option-r-t.pl index e344786..6d4b1dd 100755 --- a/ci/test-09-option-r-t.pl +++ b/ci/test-09-option-r-t.pl @@ -10,10 +10,20 @@ use Test::Command tests => 15; # -T n ignored (for compatibility with fping 2.4) # fping -R -my $cmd1 = Test::Command->new(cmd => "fping -q -R -c3 -p100 127.0.0.1"); -$cmd1->exit_is_num(0); -$cmd1->stdout_is_eq(""); -$cmd1->stderr_like(qr{127\.0\.0\.1 : xmt/rcv/%loss = 3/3/0%.*}); +{ +my $cmd = Test::Command->new(cmd => "fping -q -R -c3 -p100 127.0.0.1"); +$cmd->exit_is_num(0); +$cmd->stdout_is_eq(""); +$cmd->stderr_like(qr{127\.0\.0\.1 : xmt/rcv/%loss = 3/3/0%.*}); +} + +# fping6 -R +{ +my $cmd = Test::Command->new(cmd => "fping6 -q -R -c3 -p100 ::1"); +$cmd->exit_is_num(0); +$cmd->stdout_is_eq(""); +$cmd->stderr_like(qr{::1 : xmt/rcv/%loss = 3/3/0%.*}); +} # fping -r tested in test-4-options-a-b.pl