X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2Frun-px;h=5dade1bd7e72a3c00c2771cc81037956bfe4378c;hb=edc9055768fed952b30629a9e8fa38ef68761882;hp=01d84995c1d44409bcd98bf5e5d8e9349280213d;hpb=5d0073b8f290dee2e9bad3e83230f6b57dd06beb;p=wget diff --git a/tests/run-px b/tests/run-px index 01d84995..5dade1bd 100755 --- a/tests/run-px +++ b/tests/run-px @@ -14,6 +14,8 @@ my @tests = ( 'Test-auth-basic.px', 'Test-auth-no-challenge.px', 'Test-auth-no-challenge-url.px', + 'Test-cookies.px', + 'Test-cookies-401.px', 'Test-proxy-auth-basic.px', 'Test-proxied-https-auth.px', 'Test-N-HTTP-Content-Disposition.px', @@ -27,6 +29,7 @@ my @tests = ( 'Test-ftp.px', 'Test-ftp-iri.px', 'Test-ftp-iri-fallback.px', + 'Test-ftp-iri-recursive.px', 'Test-ftp-iri-disabled.px', 'Test-HTTP-Content-Disposition-1.px', 'Test-HTTP-Content-Disposition-2.px', @@ -36,9 +39,12 @@ my @tests = ( 'Test-idn-cmd.px', 'Test-idn-robots.px', 'Test-iri.px', + 'Test-iri-percent.px', 'Test-iri-disabled.px', 'Test-iri-forced-remote.px', 'Test-iri-list.px', + 'Test-k.px', + 'Test-meta-robots.px', 'Test-N-current.px', 'Test-N-smaller.px', 'Test-N-no-info.px', @@ -57,6 +63,7 @@ my @tests = ( 'Test-O-nonexisting.px', 'Test-O.px', 'Test-O-nc.px', + 'Test-restrict-ascii.px', 'Test-Restrict-Lowercase.px', 'Test-Restrict-Uppercase.px', 'Test--spider-fail.px', @@ -66,14 +73,22 @@ my @tests = ( 'Test--spider-r.px', ); +foreach my $var (qw(SYSTEM_WGETRC WGETRC)) { + $ENV{$var} = '/dev/null'; +} + my @tested; foreach my $test (@tests) { print "Running $test\n\n"; - system("$^X $top_srcdir/tests/$test"); + system("$^X -I$top_srcdir/tests $top_srcdir/tests/$test $top_srcdir"); push @tested, { name => $test, result => $? }; } +foreach my $var (qw(SYSTEM_WGETRC WGETRC)) { + delete $ENV{$var}; +} + print "\n"; foreach my $test (@tested) { ($test->{result} == 0)