����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: ~ $
use strict;
use warnings;
use utf8;

use Test::Builder::Tester;
use Test::More 1;
use Test::File;

# Hello world from utf8 test file:
# http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt
my $string1 = 'Καλημέρα κόσμε';
my $string2 = 'コンニチハ';

require "./t/setup_common";

my $file = 'utf8_file';
open my $fh, '>', $file or print "bail out! Could not write to utf8_file: $!";
binmode($fh, ':encoding(UTF-8)');
$fh->print("$string1$/$/$/");
$fh->print("$string2$/");
$fh->close;

my $contents = do {
    open $fh, '<', $file;
    binmode($fh, ':encoding(UTF-8)');
    local $/;
    <$fh>;
};
$fh->close;

my $pattern1 = qr/(?m:^$string1$)/;
my $pattern2 = qr/(?m:^$string2$)/;
my $bad_pattern = 'x' x 20; $bad_pattern = qr/(?m:^$bad_pattern$)/;

# like : single pattern

test_out( "ok 1 - utf8_file contains $pattern1" );
file_contains_utf8_like( $file, $pattern1 );
test_test();

test_out( "not ok 1 - utf8_file contains $bad_pattern" );
test_fail(+2);
like_diag($contents, $bad_pattern, "doesn't match");
file_contains_utf8_like( 'utf8_file', $bad_pattern );
test_test();

# unlike : single pattern

test_out( "ok 1 - utf8_file doesn't contain $bad_pattern" );
file_contains_utf8_unlike( $file, $bad_pattern );
test_test();

test_out( "not ok 1 - utf8_file doesn't contain $pattern1" );
test_fail(+2);
like_diag($contents, $pattern1, "matches");
file_contains_utf8_unlike( 'utf8_file', $pattern1 );
test_test();

# like : multiple patterns

test_out( "ok 1 - utf8_file contains $pattern1" );
test_out( "ok 2 - utf8_file contains $pattern2" );
file_contains_utf8_like( $file, [ $pattern1, $pattern2 ] );
test_test();

test_out( "ok 1 - file has the goods" );
test_out( "ok 2 - file has the goods" );
file_contains_utf8_like( $file, [ $pattern1, $pattern2 ], 'file has the goods' );
test_test();

test_out( "ok 1 - utf8_file contains $pattern1" );
test_out( "not ok 2 - utf8_file contains $bad_pattern" );
test_fail(+2);
like_diag($contents, $bad_pattern, "doesn't match");
file_contains_utf8_like( 'utf8_file', [ $pattern1, $bad_pattern ] );
test_test();

# unlike : multiple patterns

test_out( "ok 1 - utf8_file doesn't contain $bad_pattern" );
test_out( "ok 2 - utf8_file doesn't contain $bad_pattern" );
file_contains_utf8_unlike( $file, [ $bad_pattern, $bad_pattern ] );
test_test();

test_out( "ok 1 - file has the goods" );
test_out( "ok 2 - file has the goods" );
file_contains_utf8_unlike( $file, [ $bad_pattern, $bad_pattern ], 'file has the goods' );
test_test();

test_out( "ok 1 - utf8_file doesn't contain $bad_pattern" );
test_out( "not ok 2 - utf8_file doesn't contain $pattern1" );
test_fail(+2);
like_diag($contents, $pattern1, "matches");
file_contains_utf8_unlike( 'utf8_file', [ $bad_pattern, $pattern1 ] );
test_test();

done_testing();


# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

sub like_diag
{
	my ($string, $pattern, $verb) = @_;

	my $diag = ' ' x 18 . "'$string'\n";
	$diag .= sprintf("%17s '%s'", $verb, $pattern);
	$diag =~ s/^/# /mg;

	test_err($diag);
}

Filemanager

Name Type Size Permission Actions
rt Folder 0755
dm_skeleton.t File 1.51 KB 0644
file_contains.t File 5.05 KB 0644
file_contains_encoded.t File 2.96 KB 0644
file_contains_utf8.t File 2.97 KB 0644
file_mtime.t File 3.02 KB 0644
file_sizes.t File 4.71 KB 0644
line_counters.t File 5.21 KB 0644
link_counts.t File 2.47 KB 0644
links.t File 5.23 KB 0644
load.t File 158 B 0644
normalize.t File 1.81 KB 0644
obviously_non_multi_user.t File 1.53 KB 0644
owner.t File 5.75 KB 0644
pod.t File 129 B 0644
pod_coverage.t File 161 B 0644
setup_common File 1.89 KB 0644
test_dirs.t File 1.42 KB 0644
test_files.t File 9.99 KB 0644
test_manifest File 282 B 0644
win32.t File 929 B 0644