1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

fixed test suite race conditions due to double usage of names

This commit is contained in:
Tim Rühsen 2014-10-01 16:42:04 +02:00 committed by Giuseppe Scrivano
parent b64fa2eb84
commit afbcaaecba
7 changed files with 20 additions and 6 deletions

View File

@ -1,3 +1,17 @@
2014-10-01 Tim Ruehsen <tim.ruehsen@gmx.de>
* Test--post-file.px: name => "Test--post-file", fixing race
condition.
* Test-N-no-info.px: name => "Test-N-no-info", fixing race
condition.
* Test-N-smaller.px: name => "Test-N-smaller", fixing race
condition.
* Test-c-shorter.px: name => "Test-c-shorter", fixing race
condition.
* Test-proxy-auth-basic.px: name => "Test-proxy-auth-basic",
fixing race condition.
* Test-proxied-https-auth.px: removed debug print line.
2014-09-25 Tim Ruehsen <tim.ruehsen@gmx.de>
* Makefile.am: Modified to use parallel test harness

View File

@ -15,7 +15,7 @@ my $expected_error_code = 3;
###############################################################################
my $the_test = HTTPTest->new (name => "Test-missing-file",
my $the_test = HTTPTest->new (name => "Test--post-file",
cmdline => $cmdline,
errcode => $expected_error_code);
exit $the_test->run();

View File

@ -52,7 +52,7 @@ my %expected_downloaded_files = (
###############################################################################
my $the_test = HTTPTest->new (name => "Test-N-current",
my $the_test = HTTPTest->new (name => "Test-N-no-info",
input => \%urls,
cmdline => $cmdline,
errcode => $expected_error_code,

View File

@ -55,7 +55,7 @@ my %expected_downloaded_files = (
###############################################################################
my $the_test = HTTPTest->new (name => "Test-N-current",
my $the_test = HTTPTest->new (name => "Test-N-smaller",
input => \%urls,
cmdline => $cmdline,
errcode => $expected_error_code,

View File

@ -53,7 +53,7 @@ my %expected_downloaded_files = (
###############################################################################
my $the_test = HTTPTest->new (name => "Test-c-partial",
my $the_test = HTTPTest->new (name => "Test-c-shorter",
input => \%urls,
cmdline => $cmdline,
errcode => $expected_error_code,

View File

@ -15,7 +15,7 @@ if (@ARGV) {
} elsif (defined $ENV{srcdir}) {
$srcdir = $ENV{srcdir};
}
print "srcdir=",$ENV{srcdir},"\n";
if (defined $srcdir) {
$key_path = "$srcdir/certs/server-key.pem";
$cert_path = "$srcdir/certs/server-cert.pem";

View File

@ -38,7 +38,7 @@ my %expected_downloaded_files = (
###############################################################################
my $the_test = HTTPTest->new (name => "Test-auth-basic",
my $the_test = HTTPTest->new (name => "Test-proxy-auth-basic",
input => \%urls,
cmdline => $cmdline,
errcode => $expected_error_code,