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