1
0
mirror of https://frontier.innolan.net/rainlance/amiga-fping.git synced 2025-11-21 21:20:14 +00:00

more tests

This commit is contained in:
David Schweikert
2014-05-02 23:19:09 +02:00
parent 75101dd843
commit f35f4a8cc4

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl -w
use Test::Command tests => 6;
use Test::Command tests => 9;
# -r n number of retries (default 3)
# -s print final stats
@ -41,5 +41,12 @@ $cmd->stdout_is_eq("127.0.0.1 is alive\n");
$cmd->stderr_is_eq("");
}
# fping6 -S
{
my $cmd = Test::Command->new(cmd => "fping6 -S ::1 ::1");
$cmd->exit_is_num(0);
$cmd->stdout_is_eq("::1 is alive\n");
$cmd->stderr_is_eq("");
}
# fping -t tested in test-4-options-a-b.pl