From 4e0b2277a34e8e30575f8081409957f1d2d55e0b Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Mon, 13 Feb 2017 21:49:48 +0100 Subject: [PATCH] improve test coverage --- ci/test-14-ping-internet-hosts.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/test-14-ping-internet-hosts.pl b/ci/test-14-ping-internet-hosts.pl index 53c2e11..5f4f842 100755 --- a/ci/test-14-ping-internet-hosts.pl +++ b/ci/test-14-ping-internet-hosts.pl @@ -9,7 +9,7 @@ if(!gethostbyname("www.google.com")) { exit 0; } -plan tests => 27; +plan tests => 30; my $re_num = qr{\d+(?:\.\d+)?}; @@ -83,7 +83,7 @@ SKIP: { { my $cmd = Test::Command->new(cmd => "fping -4 -A -m www.github.com"); $cmd->exit_is_num(0); -$cmd->stdout_like(qr{\d+\.\d+\.\d+\.\d+\n is alive\n\d+\.\d+\.\d+\.\d+ is alive\n}); +$cmd->stdout_like(qr{\d+\.\d+\.\d+\.\d+ is alive\n\d+\.\d+\.\d+\.\d+ is alive\n}); $cmd->stderr_is_eq(""); } -- 2.43.0