X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2Frun-px;h=5faccb48c4c7f66e16e349610e8d31040c932546;hp=01d84995c1d44409bcd98bf5e5d8e9349280213d;hb=d5e283b1a75c5f8249300b465b4e7b55130bec49;hpb=5d0073b8f290dee2e9bad3e83230f6b57dd06beb diff --git a/tests/run-px b/tests/run-px index 01d84995..5faccb48 100755 --- a/tests/run-px +++ b/tests/run-px @@ -27,6 +27,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,6 +37,7 @@ 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', @@ -66,14 +68,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)