Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
x86_64-linux-gnu /
perl5 /
5.36 /
Apache /
Delete
Unzip
Name
Size
Permission
Date
Action
SizeLimit
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
Test.pm
30.43
KB
-rw-r--r--
2022-10-20 09:29
Test5005compat.pm
1.99
KB
-rw-r--r--
2022-01-30 13:02
TestBuild.pm
14.58
KB
-rw-r--r--
2022-01-30 13:02
TestClient.pm
5.13
KB
-rw-r--r--
2022-01-30 13:02
TestCommon.pm
2.97
KB
-rw-r--r--
2022-01-30 13:02
TestCommonPost.pm
5.1
KB
-rw-r--r--
2022-01-30 13:02
TestConfig.pm
62.4
KB
-rw-r--r--
2022-01-30 13:02
TestConfigC.pm
11.97
KB
-rw-r--r--
2022-01-30 13:02
TestConfigPHP.pm
17.68
KB
-rw-r--r--
2022-01-30 13:02
TestConfigParrot.pm
2.6
KB
-rw-r--r--
2022-01-30 13:02
TestConfigParse.pm
15.88
KB
-rw-r--r--
2022-10-20 09:29
TestConfigPerl.pm
19.54
KB
-rw-r--r--
2022-01-30 13:02
TestHandler.pm
5.06
KB
-rw-r--r--
2022-01-30 13:02
TestHarness.pm
5.05
KB
-rw-r--r--
2022-01-30 13:02
TestHarnessPHP.pm
4.15
KB
-rw-r--r--
2022-01-30 13:02
TestMB.pm
11.53
KB
-rw-r--r--
2022-01-30 13:02
TestMM.pm
7.09
KB
-rw-r--r--
2022-01-30 13:02
TestPerlDB.pm
1.58
KB
-rw-r--r--
2022-01-30 13:02
TestReport.pm
3.99
KB
-rw-r--r--
2022-01-30 13:02
TestReportPerl.pm
1.25
KB
-rw-r--r--
2022-01-30 13:02
TestRequest.pm
35.91
KB
-rw-r--r--
2022-10-20 09:29
TestRun.pm
34.96
KB
-rw-r--r--
2022-01-30 13:02
TestRunPHP.pm
10.97
KB
-rw-r--r--
2022-10-20 09:29
TestRunParrot.pm
1.79
KB
-rw-r--r--
2022-01-30 13:02
TestRunPerl.pm
4
KB
-rw-r--r--
2022-01-30 13:02
TestSSLCA.pm
13.5
KB
-rw-r--r--
2022-01-30 13:02
TestServer.pm
18.95
KB
-rw-r--r--
2022-10-20 09:29
TestSmoke.pm
26.33
KB
-rw-r--r--
2022-01-30 13:02
TestSmokePerl.pm
1.08
KB
-rw-r--r--
2022-01-30 13:02
TestSort.pm
1.95
KB
-rw-r--r--
2022-01-30 13:02
TestTrace.pm
7.61
KB
-rw-r--r--
2022-10-20 09:29
TestUtil.pm
28.31
KB
-rw-r--r--
2022-10-20 09:29
Save
Rename
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # package Apache::TestHarnessPHP; use strict; use warnings FATAL => 'all'; use File::Spec::Functions qw(catfile catdir); use File::Find qw(finddepth); use Apache::TestHarness (); use Apache::TestTrace; use Apache::TestConfig (); use vars qw(@ISA); @ISA = qw(Apache::TestHarness); use TAP::Formatter::Console; use TAP::Harness; sub get_tests { my $self = shift; my $args = shift; my @tests = (); my $base = -d 't' ? catdir('t', '.') : '.'; my $ts = $args->{tests} || []; if (@$ts) { for (@$ts) { if (-d $_) { push(@tests, sort <$base/$_/*.t>); push(@tests, sort <$base/$_/*.php>); } else { $_ .= ".t" unless /(\.t|\.php)$/; push(@tests, $_); } } } else { if ($args->{tdirs}) { push @tests, map { sort <$base/$_/*.t> } @{ $args->{tdirs} }; push @tests, map { sort <$base/$_/*.php> } @{ $args->{tdirs} }; } else { finddepth(sub { return unless /\.(t|php)$/; return if $File::Find::dir =~ m/\b(conf|htdocs|logs|response)\b/; my $t = catfile $File::Find::dir, $_; my $dotslash = catfile '.', ""; $t =~ s:^\Q$dotslash::; push @tests, $t }, $base); @tests = sort @tests; } } @tests = $self->prune(@tests); if (my $skip = $self->skip) { # Allow / \ and \\ path delimiters in SKIP file $skip =~ s![/\\\\]+![/\\\\]!g; @tests = grep { not /(?:$skip)/ } @tests; } Apache::TestSort->run(\@tests, $args); #when running 't/TEST t/dir' shell tab completion adds a / #dir//foo output is annoying, fix that. s:/+:/:g for @tests; # remove *.php tests unless we can run them with php if (! Apache::TestConfig::which('php')) { warning(join ' - ', 'skipping *.php tests', 'make sure php is in your PATH'); @tests = grep { not /\.php$/ } @tests; } elsif (! $phpclient) { warning(join ' - ', 'skipping *.php tests', 'Test::Harness 2.38 not available'); @tests = grep { not /\.php$/ } @tests; } return @tests; } sub run { my $self = shift; my $args = shift || {}; my $formatter = TAP::Formatter::Console->new; my $agg = TAP::Parser::Aggregator->new; my $verbose = $args->{verbose} && $args->{verbose}; my $php_harness = TAP::Harness->new ({exec => $self->command_line(), verbosity => $verbose}); my $perl_harness = TAP::Harness->new ({verbosity => $verbose}); my @tests = $self->get_tests($args, @_); $agg->start(); $php_harness->aggregate_tests($agg, grep {m{\.php$}} @tests); $perl_harness->aggregate_tests($agg, grep {m{\.t$}} @tests); $agg->stop(); $formatter->summary($agg); } sub command_line { my $self = shift; my $server_root = Apache::Test::vars('serverroot'); my $conf = catfile($server_root, 'conf'); my $ini = catfile($conf, 'php.ini'); my $php = Apache::TestConfig::which('php') || die 'no php executable found in ' . $ENV{PATH}; return ["env", "SERVER_ROOT=$server_root", $php, "--php-ini", $ini, "--define", "include_path=$conf"]; } 1;