]> git.gsnw.org Git - fping.git/commitdiff
test fixes
authorDavid Schweikert <david@schweikert.ch>
Thu, 1 May 2014 13:22:21 +0000 (15:22 +0200)
committerDavid Schweikert <david@schweikert.ch>
Thu, 1 May 2014 13:22:21 +0000 (15:22 +0200)
ci/test-7-options-i-m.pl
ci/test-issue-58.pl

index 63fcd31b5cff44ab8bc84850c61d9cd9cdb4dbb1..33c6cc3678e914c2189c52ab54f241a98a0ad7c9 100755 (executable)
@@ -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("");
 }
index df3e601e6f8e20bb8642392439037e2f70d68e46..46c70100eefbe971943b590cb863da25148ea168 100755 (executable)
@@ -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");