Imported Upstream version 1.4.16+git20130919
This commit is contained in:
parent
01ca3b324f
commit
57371046fd
50 changed files with 3885 additions and 500 deletions
|
@ -6,19 +6,13 @@
|
|||
|
||||
use strict;
|
||||
use Test;
|
||||
use NPTest;
|
||||
|
||||
use vars qw($tests);
|
||||
my $has_ipv6;
|
||||
use vars qw($tests $has_ipv6);
|
||||
BEGIN {
|
||||
$tests = 11;
|
||||
# do we have ipv6
|
||||
`ping6 -c 1 2a02:2e0:3fe:100::7 2>&1`;
|
||||
if($? == 0) {
|
||||
$has_ipv6 = 1;
|
||||
$tests += 3;
|
||||
}
|
||||
plan tests => $tests;
|
||||
use NPTest;
|
||||
$has_ipv6 = NPTest::has_ipv6();
|
||||
$tests = $has_ipv6 ? 14 : 11;
|
||||
plan tests => $tests;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue