Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
cpan /
Pod-Simple /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
corpus
[ DIR ]
drwxr-xr-x
2016-10-10 18:23
corpus2
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
testlib1
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
testlib2
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
testlib3
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
00about.t
3.11
KB
-r--r--r--
2014-12-27 11:48
20_skip.t
308
B
-r--r--r--
2014-12-27 11:48
ac_d.t
3.33
KB
-r--r--r--
2014-12-27 11:48
accept01.t
2.67
KB
-r--r--r--
2014-12-27 11:48
accept05.t
4.71
KB
-r--r--r--
2014-12-27 11:48
basic.t
2.38
KB
-r--r--r--
2014-12-27 11:48
begin.t
22.22
KB
-r--r--r--
2014-12-27 11:48
cbacks.t
2.27
KB
-r--r--r--
2014-12-27 11:48
chunking.t
1.17
KB
-r--r--r--
2014-12-27 11:48
closeys.t
698
B
-r--r--r--
2014-12-27 11:48
corpus.t
3.99
KB
-r--r--r--
2014-12-27 11:48
emptylists.t
1.45
KB
-r--r--r--
2014-12-27 11:48
enc-chars.t
1.16
KB
-r--r--r--
2014-12-27 11:48
encod01.t
1.65
KB
-r--r--r--
2014-12-27 11:48
encod02.t
1.25
KB
-r--r--r--
2014-12-27 11:48
encod03.t
1.22
KB
-r--r--r--
2014-12-27 11:48
encod04.t
3.18
KB
-r--r--r--
2014-12-27 11:48
end_over.t
1.24
KB
-r--r--r--
2014-12-27 11:48
eol.t
2.18
KB
-r--r--r--
2014-12-27 11:48
eol2.t
2.09
KB
-r--r--r--
2014-12-27 11:48
fake-closers.t
1.45
KB
-r--r--r--
2014-12-27 11:48
fcodes.t
4.24
KB
-r--r--r--
2014-12-27 11:48
fcodes_e.t
2.62
KB
-r--r--r--
2014-12-27 11:48
fcodes_l.t
26.34
KB
-r--r--r--
2014-12-27 11:48
fcodes_s.t
12.08
KB
-r--r--r--
2014-12-27 11:48
for.t
5.04
KB
-r--r--r--
2014-12-27 11:48
fornot.t
5.28
KB
-r--r--r--
2014-12-27 11:48
heads.t
2.58
KB
-r--r--r--
2014-12-27 11:48
html01.t
2.06
KB
-r--r--r--
2014-12-27 11:48
html02.t
806
B
-r--r--r--
2014-12-27 11:48
html03.t
714
B
-r--r--r--
2014-12-27 11:48
htmlbat.t
2.61
KB
-r--r--r--
2014-12-27 11:48
items.t
8.46
KB
-r--r--r--
2014-12-27 11:48
items02.t
1.31
KB
-r--r--r--
2014-12-27 11:48
itemstar.t
1.67
KB
-r--r--r--
2014-12-27 11:48
junk1.pod
52
B
-r--r--r--
2014-12-27 11:48
junk1o.txt
318
B
-r--r--r--
2014-12-27 11:48
junk2.pod
46
B
-r--r--r--
2014-12-27 11:48
junk2o.txt
251
B
-r--r--r--
2014-12-27 11:48
linkclas.t
1.46
KB
-r--r--r--
2014-12-27 11:48
output.t
1.08
KB
-r--r--r--
2014-12-27 11:48
perlcyg.pod
19.93
KB
-r--r--r--
2014-12-27 11:48
perlcygo.txt
18.63
KB
-r--r--r--
2014-12-27 11:48
perlfaq.pod
30.59
KB
-r--r--r--
2014-12-27 11:48
perlfaqo.txt
29.9
KB
-r--r--r--
2014-12-27 11:48
perlvar.pod
40.57
KB
-r--r--r--
2014-12-27 11:48
perlvaro.txt
38.14
KB
-r--r--r--
2014-12-27 11:48
puller.t
7.92
KB
-r--r--r--
2014-12-27 11:48
pulltitl.t
10.9
KB
-r--r--r--
2014-12-27 11:48
reinit.t
1.87
KB
-r--r--r--
2014-12-27 11:48
render.t
3.5
KB
-r--r--r--
2014-12-27 11:48
search05.t
965
B
-r--r--r--
2014-12-27 11:48
search10.t
2.31
KB
-r--r--r--
2014-12-27 11:48
search12.t
2.22
KB
-r--r--r--
2014-12-27 11:48
search20.t
2.89
KB
-r--r--r--
2014-12-27 11:48
search22.t
3.21
KB
-r--r--r--
2014-12-27 11:48
search25.t
2.76
KB
-r--r--r--
2014-12-27 11:48
search26.t
2
KB
-r--r--r--
2014-12-27 11:48
search27.t
2.71
KB
-r--r--r--
2014-12-27 11:48
search28.t
1.79
KB
-r--r--r--
2014-12-27 11:48
search29.t
1.78
KB
-r--r--r--
2014-12-27 11:48
search50.t
2.62
KB
-r--r--r--
2014-12-27 11:48
stree.t
3.15
KB
-r--r--r--
2014-12-27 11:48
strpvbtm.t
4.22
KB
-r--r--r--
2014-12-27 11:48
tiedfh.t
1.22
KB
-r--r--r--
2014-12-27 11:48
verb_fmt.t
12.95
KB
-r--r--r--
2014-12-27 11:48
verbatim.t
7.65
KB
-r--r--r--
2014-12-27 11:48
whine.t
1.46
KB
-r--r--r--
2014-12-27 11:48
x_nixer.t
4.67
KB
-r--r--r--
2014-12-27 11:48
xhtml-bkb.t
421
B
-r--r--r--
2014-12-27 11:48
xhtml01.t
15.47
KB
-r--r--r--
2014-12-27 11:48
xhtml05.t
1.17
KB
-r--r--r--
2014-12-27 11:48
xhtml10.t
12.36
KB
-r--r--r--
2014-12-27 11:48
xhtml15.t
966
B
-r--r--r--
2014-12-27 11:48
xhtml20.t
1.18
KB
-r--r--r--
2014-12-27 11:48
Save
Rename
# Testing a corpus of Pod files BEGIN { if($ENV{PERL_CORE}) { chdir 't'; @INC = '../lib'; } use Config; if ($Config::Config{'extensions'} !~ /\bEncode\b/) { print "1..0 # Skip: Encode was not built\n"; exit 0; } } #use Pod::Simple::Debug (10); use Test qw(plan ok skip); use File::Spec; #use utf8; use strict; my(@testfiles, %xmlfiles, %wouldxml); #use Pod::Simple::Debug (10); BEGIN { sub source_path { my $file = shift; if ($ENV{PERL_CORE}) { require File::Spec; my $updir = File::Spec->updir; my $dir = File::Spec->catdir($updir, 'lib', 'Pod', 'Simple', 't'); return File::Spec->catdir ($dir, $file); } else { return $file; } } my @bits; if(-e( File::Spec::->catdir( @bits = source_path('corpus') ) ) ) { # OK print "# 1Bits: @bits\n"; } elsif( -e (File::Spec::->catdir( @bits = (File::Spec::->curdir, 'corpus') ) ) ) { # OK print "# 2Bits: @bits\n"; } elsif ( -e (File::Spec::->catdir( @bits = (File::Spec::->curdir, 't', 'corpus') ) ) ) { # OK print "# 3Bits: @bits\n"; } else { die "Can't find the corpusdir"; } my $corpusdir = File::Spec::->catdir( @bits); print "#Corpusdir: $corpusdir\n"; opendir(INDIR, $corpusdir) or die "Can't opendir corpusdir : $!"; my @f = map File::Spec::->catfile(@bits, $_), readdir(INDIR); closedir(INDIR); my %f; @f{@f} = (); foreach my $maybetest (sort @f) { my $xml = $maybetest; $xml =~ s/\.(txt|pod)$/\.xml/is or next; $wouldxml{$maybetest} = $xml; push @testfiles, $maybetest; foreach my $x ($xml, uc($xml), lc($xml)) { next unless exists $f{$x}; $xmlfiles{$maybetest} = $x; last; } } die "Too few test files (".@testfiles.")" unless @ARGV or @testfiles > 20; @testfiles = @ARGV if @ARGV and !grep !m/\.txt/, @ARGV; plan tests => (2 + 2*@testfiles - 1); } my $HACK = 1; #@testfiles = ('nonesuch.txt'); ok 1; my $skippy = ($] < 5.008) ? "skip because perl ($]) pre-dates v5.8.0" : 0; if($skippy) { print "# This is just perl v$], so I'm skipping many many tests.\n"; } { my @x = @testfiles; print "# Files to test:\n"; while(@x) { print "# ", join(' ', splice @x,0,3), "\n" } } require Pod::Simple::DumpAsXML; foreach my $f (@testfiles) { my $xml = $xmlfiles{$f}; if($xml) { print "#\n#To test $f against $xml\n"; } else { print "#\n# $f has no xml to test it against\n"; } my $outstring; eval { my $p = Pod::Simple::DumpAsXML->new; $p->output_string( \$outstring ); $p->parse_file( $f ); undef $p; }; if($@) { my $x = "#** Couldn't parse $f:\n $@"; $x =~ s/([\n\r]+)/\n#** /g; print $x, "\n"; ok 0; ok 0; next; } else { print "# OK, parsing $f generated ", length($outstring), " bytes\n"; ok 1; } die "Null outstring?" unless $outstring; next if $f =~ /nonesuch/; my $outfilename = ($HACK > 1) ? $wouldxml{$f} : "$wouldxml{$f}\_out"; if($HACK) { open OUT, ">$outfilename" or die "Can't write-open $outfilename: $!\n"; binmode(OUT); print OUT $outstring; close(OUT); } unless($xml) { print "# (no comparison done)\n"; ok 1; next; } open(IN, "<$xml") or die "Can't read-open $xml: $!"; #binmode(IN); local $/; my $xmlsource = <IN>; close(IN); print "# There's errata!\n" if $outstring =~ m/start_line="-321"/; if( $xmlsource eq $outstring or do { $xmlsource =~ s/[\n\r]+/\n/g; $outstring =~ s/[\n\r]+/\n/g; $xmlsource eq $outstring; } ) { print "# (Perfect match to $xml)\n"; unlink $outfilename unless $outfilename =~ m/\.xml$/is; ok 1; next; } if($skippy) { skip $skippy, 0; } else { print "# $outfilename and $xml don't match!\n"; print STDERR `diff -u $xml $outfilename`; ok 0; } } print "#\n# I've been using Encode v", $Encode::VERSION ? $Encode::VERSION : "(NONE)", "\n"; print "# Byebye\n"; ok 1; print "# --- Done with ", __FILE__, " --- \n";