test fixes

pull/67/head
David Schweikert 11 years ago
parent 3ec68c8a3f
commit ea026f3ba4

@ -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("");
}

@ -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("");
}

Loading…
Cancel
Save