����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Copyright (c) 2009 by David Golden. All rights reserved.
# Licensed under Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License was distributed with this file or you may obtain a
# copy of the License from http://www.apache.org/licenses/LICENSE-2.0
use strict;
use warnings;
use Test::More;
use lib 't/lib';
use Utils qw/next_fd sig_num/;
use Capture::Tiny qw/capture/;
use Config;
plan tests => 2;
my $builder = Test::More->builder;
binmode($builder->failure_output, ':utf8') if $] >= 5.008;
my $fd = next_fd;
capture {
$? = 42;
};
is( $?, 42, "\$\? preserved after capture ends" );
is( next_fd, $fd, "no file descriptors leaked" );
exit 0;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| lib | Folder | 0775 |
|
|
| 00-report-prereqs.dd | File | 2.97 KB | 0644 |
|
| 00-report-prereqs.t | File | 5.88 KB | 0644 |
|
| 01-Capture-Tiny.t | File | 824 B | 0644 |
|
| 02-capture.t | File | 766 B | 0644 |
|
| 03-tee.t | File | 884 B | 0644 |
|
| 06-stdout-closed.t | File | 1 KB | 0644 |
|
| 07-stderr-closed.t | File | 1 KB | 0644 |
|
| 08-stdin-closed.t | File | 1.56 KB | 0644 |
|
| 09-preserve-exit-code.t | File | 737 B | 0644 |
|
| 10-stdout-string.t | File | 1.14 KB | 0644 |
|
| 11-stderr-string.t | File | 1.14 KB | 0644 |
|
| 12-stdin-string.t | File | 1.37 KB | 0644 |
|
| 13-stdout-tied.t | File | 1.25 KB | 0644 |
|
| 14-stderr-tied.t | File | 1.26 KB | 0644 |
|
| 15-stdin-tied.t | File | 1.27 KB | 0644 |
|
| 16-catch-errors.t | File | 1.18 KB | 0644 |
|
| 17-pass-results.t | File | 2.6 KB | 0644 |
|
| 18-custom-capture.t | File | 4.52 KB | 0644 |
|
| 19-relayering.t | File | 2.46 KB | 0644 |
|
| 20-stdout-badtie.t | File | 1.23 KB | 0644 |
|
| 21-stderr-badtie.t | File | 1.23 KB | 0644 |
|
| 22-stdin-badtie.t | File | 1.23 KB | 0644 |
|
| 23-all-tied.t | File | 1.57 KB | 0644 |
|
| 24-all-badtied.t | File | 1.5 KB | 0644 |
|
| 25-cap-fork.t | File | 1.24 KB | 0644 |
|