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 /
t /
porting /
Delete
Unzip
Name
Size
Permission
Date
Action
FindExt.t
2.62
KB
-r--r--r--
2014-12-27 11:49
args_assert.t
1.39
KB
-r--r--r--
2014-12-27 11:49
authors.t
462
B
-r--r--r--
2014-12-27 11:49
bincompat.t
446
B
-r--r--r--
2014-12-27 11:49
checkcase.t
1.17
KB
-r--r--r--
2014-12-27 11:49
checkcfgvar.t
1.36
KB
-r--r--r--
2014-12-27 11:49
cmp_version.t
486
B
-r--r--r--
2014-12-27 11:49
copyright.t
1.88
KB
-r--r--r--
2014-12-27 11:49
corelist.t
532
B
-r--r--r--
2015-01-28 21:08
customized.dat
3.13
KB
-r--r--r--
2015-01-31 22:00
customized.t
3.02
KB
-r--r--r--
2014-12-27 11:49
diag.t
23.62
KB
-r--r--r--
2015-01-15 22:12
dual-life.t
1.63
KB
-r--r--r--
2014-12-27 11:49
exec-bit.t
1.81
KB
-r--r--r--
2014-12-27 11:49
extrefs.t
3.32
KB
-r--r--r--
2014-12-27 11:49
filenames.t
1.9
KB
-r--r--r--
2014-12-27 11:49
globvar.t
1.82
KB
-r--r--r--
2014-12-27 11:49
known_pod_issues.dat
9.81
KB
-r--r--r--
2015-01-17 16:54
maintainers.t
884
B
-r--r--r--
2014-12-27 11:49
manifest.t
3.05
KB
-r--r--r--
2014-12-27 11:49
pending-author.t
1.75
KB
-r--r--r--
2014-12-27 11:49
perlfunc.t
1.39
KB
-r--r--r--
2014-12-27 11:49
pod_rules.t
1.04
KB
-r--r--r--
2014-12-27 11:49
podcheck.t
75.45
KB
-r--r--r--
2014-12-27 12:37
readme.t
2.22
KB
-r--r--r--
2014-12-27 11:49
regen.t
2.04
KB
-r--r--r--
2014-12-27 12:37
ss_dup.t
863
B
-r--r--r--
2014-12-27 11:49
test_bootstrap.t
2.42
KB
-r--r--r--
2014-12-27 11:49
utils.t
3.3
KB
-r--r--r--
2014-12-27 11:49
Save
Rename
#!/perl -w use 5.010; use strict; use Config; # This test checks that anything with an executable bit is # identified in Porting/exec-bit.txt to makerel will set # the exe bit in the release tarball # and that anything with an executable bit also has a shebang sub has_shebang { my $fname = shift; open my $fh, '<', $fname or die "Can't open '$fname': $!"; my $line = <$fh>; close $fh; return $line =~ /^\#!\s*([A-Za-z0-9_\-\/\.])+\s?/ ? 1 : 0; } require './test.pl'; if ( $^O eq "MSWin32" ) { skip_all( "-x on MSWin32 only indicates file has executable suffix. Try Cygwin?" ); } if ( $^O eq "VMS" ) { skip_all( "Filename case may not be preserved and other porting issues." ); } if ( $^O eq "vos" ) { skip_all( "VOS combines the read and execute permission bits." ); } if ( $Config{usecrosscompile} ) { skip_all( "Not all files are available during cross-compilation" ); } plan('no_plan'); use ExtUtils::Manifest qw(maniread); # Copied from Porting/makerel - these will get +x in the tarball # XXX refactor? -- dagolden, 2010-07-23 my %exe_list = map { $_ => 1 } map { my ($f) = split; glob("../$f") } grep { $_ !~ /\A#/ && $_ !~ /\A\s*\z/ } map { split "\n" } do { local (@ARGV, $/) = '../Porting/exec-bit.txt'; <> }; # Get MANIFEST $ExtUtils::Manifest::Quiet = 1; my @manifest = sort keys %{ maniread("../MANIFEST") }; # Check that +x files in repo get +x from makerel for my $f ( map { "../$_" } @manifest ) { next unless -x $f; ok( has_shebang($f), "File $f has shebang" ); ok( $exe_list{$f}, "tarball will chmod +x $f" ) or diag( "Remove the exec bit or add '$f' to Porting/exec-bit.txt" ); delete $exe_list{$f}; # seen it } ok( ! %exe_list, "Everything in Porting/exec-bit.txt has +x in repo" ) or diag( "Files missing exec bit:\n " . join("\n ", sort keys %exe_list) . "\n");