X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest--spider.px;h=dbc97135aa352bb78f27993c53f08b107203e625;hp=2c58cebd671b4ddcd8a4603ed97ac4069b87d1ee;hb=d3007f1b3a5d033babe40bc4c56a899eb3b10bfa;hpb=f0b4f352bfedd1ac5b639db801445261f19a73ff diff --git a/tests/Test--spider.px b/tests/Test--spider.px index 2c58cebd..dbc97135 100755 --- a/tests/Test--spider.px +++ b/tests/Test--spider.px @@ -32,9 +32,9 @@ my %urls = ( }, ); -my $cmdline = "wget --spider http://localhost:8080/index.html"; +my $cmdline = $WgetTest::WGETPATH . " --spider http://localhost:{{port}}/index.html"; -my $expected_error_code = 256; +my $expected_error_code = 0; my %expected_downloaded_files = ( ); @@ -46,7 +46,7 @@ my $the_test = HTTPTest->new (name => "Test--spider", cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4