X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest--spider.px;h=c2c1263e01bf9aa125647a9cf627bff8f64b0aa1;hb=829f83bf5bce33e856971b55a8e00c3560da7b4b;hp=2c58cebd671b4ddcd8a4603ed97ac4069b87d1ee;hpb=78aefb3bbf3afb0a3677419370ee197db389bfb7;p=wget diff --git a/tests/Test--spider.px b/tests/Test--spider.px old mode 100644 new mode 100755 index 2c58cebd..c2c1263e --- a/tests/Test--spider.px +++ b/tests/Test--spider.px @@ -32,7 +32,7 @@ my %urls = ( }, ); -my $cmdline = "wget --spider http://localhost:8080/index.html"; +my $cmdline = $WgetTest::WGETPATH . " --spider http://localhost:8080/index.html"; my $expected_error_code = 256; @@ -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