mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
use test filename as default test name
This commit is contained in:
parent
21fc7546ef
commit
ff876a3710
@ -1,3 +1,8 @@
|
|||||||
|
2014-10-02 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
|
* tests/WgetTests.pm: use filename as default test name
|
||||||
|
* tests/Test-*.px: removed redundant 'name => ...'
|
||||||
|
|
||||||
2014-10-01 Tim Ruehsen <tim.ruehsen@gmx.de>
|
2014-10-01 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
* tests/Makefile.am: remove run-px, fixing dist-check
|
* tests/Makefile.am: remove run-px, fixing dist-check
|
||||||
|
@ -68,12 +68,10 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--httpsonly-r",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
print $expected_error_code."\n";
|
|
||||||
|
|
||||||
exit $the_test->run();
|
exit $the_test->run();
|
||||||
|
|
||||||
|
@ -45,8 +45,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--no-content-disposition-trivial",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -46,8 +46,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--no-content-disposition",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -15,8 +15,7 @@ my $expected_error_code = 3;
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--post-file",
|
my $the_test = HTTPTest->new (cmdline => $cmdline,
|
||||||
cmdline => $cmdline,
|
|
||||||
errcode => $expected_error_code);
|
errcode => $expected_error_code);
|
||||||
exit $the_test->run();
|
exit $the_test->run();
|
||||||
|
|
||||||
|
@ -42,8 +42,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--spider-fail",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -99,8 +99,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--spider-r--no-content-disposition-trivial",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -100,8 +100,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--spider-r--no-content-disposition",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -100,8 +100,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--spider-r-HTTP-Content-Disposition",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -99,8 +99,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--spider-r",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -42,8 +42,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--spider",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -44,8 +44,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--start-pos--continue",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -34,8 +34,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test--start-pos",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -25,8 +25,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-204",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -79,8 +79,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-E-k-K",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -76,8 +76,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-E-k",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -65,8 +65,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-HTTP-Content-Disposition-1",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -65,8 +65,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-HTTP-Content-Disposition-2",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -46,8 +46,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-HTTP-Content-Disposition",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -38,8 +38,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-N--no-content-disposition-trivial",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -39,8 +39,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-N--no-content-disposition",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -40,8 +40,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-N-HTTP-Content-Disposition",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -54,8 +54,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-N-current",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -52,8 +52,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-N-no-info",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -52,8 +52,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-N-old",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -55,8 +55,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-N-smaller",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -38,8 +38,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-N",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -36,8 +36,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-O--no-content-disposition-trivial",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -37,8 +37,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-O--no-content-disposition",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -37,8 +37,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-O-HTTP-Content-Disposition",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -36,8 +36,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-O-nc",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -36,8 +36,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-O-nonexisting",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -36,8 +36,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-O",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -45,8 +45,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-Restrict-Lowercase",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -45,8 +45,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-Restrict-Uppercase",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -38,8 +38,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-auth-basic",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -39,8 +39,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-auth-no-challenge-url",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -40,8 +40,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-auth-no-challenge",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -28,8 +28,7 @@ my %expected_downloaded_files = ();
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-auth-retcode",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -39,8 +39,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-auth-with-content-disposition",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -46,8 +46,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-c-full",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -56,8 +56,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-c-partial",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -53,8 +53,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-c-shorter",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -43,8 +43,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-c",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -42,8 +42,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-cookies-401",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -103,8 +103,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-cookies",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -29,7 +29,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp--start-pos",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -56,7 +56,7 @@ my %preexisting_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-bad-list",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -41,7 +41,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-iri-disabled",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -37,7 +37,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-iri-fallback",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -37,7 +37,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-iri-recursive",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -38,7 +38,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-iri",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -56,7 +56,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-list-Multinet",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -55,7 +55,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-list-UNIX-hidden",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -66,7 +66,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-list-Unknown-a",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -58,7 +58,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-list-Unknown-hidden",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -51,7 +51,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-list-Unknown-list-a-fails",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -54,7 +54,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-list-Unknown",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -46,7 +46,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-pasv-fail",
|
my $the_test = FTPTest->new (
|
||||||
server_behavior => {fail_on_pasv => 1},
|
server_behavior => {fail_on_pasv => 1},
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
|
@ -44,7 +44,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp-recursive",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -34,7 +34,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-ftp",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -69,7 +69,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = FTPTest->new (name => "Test-i-ftp",
|
my $the_test = FTPTest->new (
|
||||||
input => \%urls,
|
input => \%urls,
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
|
@ -81,8 +81,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-i-http",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -41,8 +41,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-idn-cmd-utf8",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -41,8 +41,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-idn-cmd",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -56,8 +56,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-idn-headers",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -57,8 +57,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-idn-meta",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -68,8 +68,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-idn-robots-utf8",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -93,8 +93,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-idn-robots",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -186,8 +186,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-iri-disabled",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -198,8 +198,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-iri-forced-remote",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -164,8 +164,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-iri-list",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -77,8 +77,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-iri-percent",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -213,8 +213,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-iri",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -76,8 +76,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-k",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -104,8 +104,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-meta-robots",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -33,8 +33,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-nonexisting-quiet",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -46,8 +46,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-noop",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -138,8 +138,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-np",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -38,8 +38,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-proxy-auth-basic",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -58,8 +58,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-restrict-ascii",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
output => \%expected_downloaded_files);
|
output => \%expected_downloaded_files);
|
||||||
|
@ -36,8 +36,7 @@ my %expected_downloaded_files = (
|
|||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
my $the_test = HTTPTest->new (name => "Test-stdouterr",
|
my $the_test = HTTPTest->new (input => \%urls,
|
||||||
input => \%urls,
|
|
||||||
cmdline => $cmdline,
|
cmdline => $cmdline,
|
||||||
errcode => $expected_error_code,
|
errcode => $expected_error_code,
|
||||||
existing => \%existing_files,
|
existing => \%existing_files,
|
||||||
|
@ -20,7 +20,7 @@ my @unexpected_downloads = ();
|
|||||||
_errcode => 0,
|
_errcode => 0,
|
||||||
_existing => {},
|
_existing => {},
|
||||||
_input => {},
|
_input => {},
|
||||||
_name => "",
|
_name => $0,
|
||||||
_output => {},
|
_output => {},
|
||||||
_server_behavior => {},
|
_server_behavior => {},
|
||||||
);
|
);
|
||||||
@ -70,6 +70,8 @@ sub run {
|
|||||||
my $result_message = "Test successful.\n";
|
my $result_message = "Test successful.\n";
|
||||||
my $errcode;
|
my $errcode;
|
||||||
|
|
||||||
|
$self->{_name} =~ s{.*/}{}; # remove path
|
||||||
|
$self->{_name} =~ s{\.[^.]+$}{}; # remove extension
|
||||||
printf "Running test $self->{_name}\n";
|
printf "Running test $self->{_name}\n";
|
||||||
|
|
||||||
# Setup
|
# Setup
|
||||||
|
Loading…
Reference in New Issue
Block a user