Uname:
Linux server.thebazaar99.com 5.14.0-687.17.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 22 07:21:26 EDT 2026 x86_64
Software:
Apache
PHP version:
8.3.32 [ PHP INFO ] PHP os:
Linux
Server Ip:
163.227.92.254
Your Ip:
216.73.217.24
User:
gutlooks (1003) | Group:
gutlooks (1005)
Safe Mode:
OFF
Disable Function:
exec,passthru,shell_exec,system
use strict;
use Test::Tester;
my $Test = Test::Builder->new;
$Test->plan(tests => 3);
my $cap;
$cap = Test::Tester->capture;
{
no warnings 'redefine';
sub Test::Tester::find_run_tests { return 0};
}
local $Test::Builder::Level = 0;
{
my $cur = $cap->current_test;
$Test->is_num($cur, 0, "current test");
eval {$cap->current_test(2)};
$Test->ok($@, "can't set test_num");
}
{
$cap->ok(1, "a test");
my @res = $cap->details;
$Test->is_num(scalar @res, 1, "res count");
}