]> git.gsnw.org Git - fping.git/commitdiff
test fixes
authorDavid Schweikert <david@schweikert.ch>
Fri, 2 May 2014 12:37:20 +0000 (14:37 +0200)
committerDavid Schweikert <david@schweikert.ch>
Fri, 2 May 2014 12:37:20 +0000 (14:37 +0200)
ci/test-7-options-i-m.pl
ci/test-8-options-n-q.pl

index 33c6cc3678e914c2189c52ab54f241a98a0ad7c9..279c740c64075a9fd9a5f71f87b75f5b77c38d27 100755 (executable)
@@ -27,8 +27,8 @@ $cmd->stdout_like(qr{127\.0\.0\.1 : \[0\], 84 bytes, 0\.\d+ ms \(0.\d+ avg, 0% l
 
 # fping -m
 {
-my $cmd = Test::Command->new(cmd => "fping -m localhost");
+my $cmd = Test::Command->new(cmd => "fping -m google-public-dns-a.google.com is alive");
 $cmd->exit_is_num(0);
-$cmd->stdout_is_eq("localhost is alive\n");
+$cmd->stdout_is_eq("google-public-dns-a.google.com is alive\n");
 $cmd->stderr_is_eq("");
 }
index a0df4fd29b10d4e78ae8d699a5191910128ebce8..28e599fc9317783158c91d81c377cc04feb8c459 100755 (executable)
@@ -13,9 +13,9 @@ use File::Temp;
 
 # fping -n
 {
-my $cmd = Test::Command->new(cmd => "fping -n 127.0.0.1");
+my $cmd = Test::Command->new(cmd => "fping -n 8.8.8.8");
 $cmd->exit_is_num(0);
-$cmd->stdout_is_eq("localhost is alive\n");
+$cmd->stdout_is_eq("google-public-dns-a.google.com is alive\n");
 $cmd->stderr_is_eq("");
 }