From 3ec68c8a3f3409b41b7a80bff18904c357dcf73a Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Thu, 1 May 2014 15:22:21 +0200 Subject: [PATCH] test fixes --- ci/test-7-options-i-m.pl | 2 +- ci/test-issue-58.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/test-7-options-i-m.pl b/ci/test-7-options-i-m.pl index 63fcd31..33c6cc3 100755 --- a/ci/test-7-options-i-m.pl +++ b/ci/test-7-options-i-m.pl @@ -29,6 +29,6 @@ $cmd->stdout_like(qr{127\.0\.0\.1 : \[0\], 84 bytes, 0\.\d+ ms \(0.\d+ avg, 0% l { my $cmd = Test::Command->new(cmd => "fping -m localhost"); $cmd->exit_is_num(0); -$cmd->stdout_is_eq("127.0.0.1 is alive\n"); +$cmd->stdout_is_eq("localhost is alive\n"); $cmd->stderr_is_eq(""); } diff --git a/ci/test-issue-58.pl b/ci/test-issue-58.pl index df3e601..46c7010 100755 --- a/ci/test-issue-58.pl +++ b/ci/test-issue-58.pl @@ -4,7 +4,7 @@ use Test::Command tests => 3; -my $cmd1 = Test::Command->new(cmd => "src/fping -a -g 2001:db8:120:4161::4/64"); +my $cmd1 = Test::Command->new(cmd => "fping -a -g 2001:db8:120:4161::4/64"); $cmd1->exit_is_num(1); $cmd1->stdout_is_eq(""); $cmd1->stderr_is_eq("Error: -g works only with IPv4 addresses\n");