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 /
win32 /
Delete
Unzip
Name
Size
Permission
Date
Action
fs.t
742
B
-r--r--r--
2014-12-27 11:49
popen.t
634
B
-r--r--r--
2014-12-27 11:49
runenv.t
6.96
KB
-r--r--r--
2014-12-27 11:49
signal.t
1.44
KB
-r--r--r--
2014-12-27 11:49
system.t
3.19
KB
-r--r--r--
2014-12-27 11:49
system_tests
2.18
KB
-r--r--r--
2014-12-27 11:49
Save
Rename
#!./perl # Tests for signal emulation BEGIN { chdir 't' if -d 't'; @INC = '../lib'; # only used for skip_all, the forking confuses test.pl require "./test.pl"; } BEGIN { unless ($^O =~ /^MSWin/) { skip_all('windows specific test'); } } skip_all("requires compilation with the fork emulation") unless $Config{'d_pseudofork'}; ++$|; # manual test counting because the forks confuse test.pl print "1..4\n"; use Config; # find a safe signal, the implementation shouldn't be doing anything # funky with NUMdd signals my ($sig) = grep /^NUM/, split ' ', $Config{sig_name}; # otherwise, hope CONT is safe $sig ||= "CONT"; SKIP: { # perl #85104 use warnings; my $pid = fork; unless (defined $pid) { print <<EOS; not ok 1 # fork failed: $! ok 2 # SKIP ok 3 # SKIP ok 4 # SKIP EOS last SKIP; } if ($pid) { print "ok 1 # pseudo-forked\n"; sleep 2; # give the child a chance to setup kill $sig, $pid; waitpid($pid, 0); } else { my $signalled; $SIG{$sig} = sub { $! = 1; $^E = 1000; print "ok 2 # $sig signal handler called\n"; ++$signalled; }; $! = 0; $^E = 0; # wait for the signal my $count = 0; while (!$signalled && ++$count < 10) { sleep 1; } print "# signaled after $count loops\n"; print $! != 0 ? "not " : "", "ok 3 # \$! preserved\n"; print $^E != 0 ? "not " : "", "ok 4 # \$^E preserved\n" or print STDERR "# \$^E = ", 0+$^E, "\n"; exit; } }