]> sjero.net Git - wget/blobdiff - tests/Test--spider-fail.px
Automated merge.
[wget] / tests / Test--spider-fail.px
index 9682681b94e1c9e530028a55d9b20c2d03fb7ea1..b30ef755f44894758459da415043304338c90231 100755 (executable)
@@ -32,7 +32,7 @@ my %urls = (
     },
 );
 
-my $cmdline = "wget --spider http://localhost:8080/nonexistent";
+my $cmdline = $WgetTest::WGETPATH . " --spider http://localhost:{{port}}/nonexistent";
 
 my $expected_error_code = 256;
 
@@ -46,7 +46,7 @@ my $the_test = HTTPTest->new (name => "Test--spider-fail",
                               cmdline => $cmdline, 
                               errcode => $expected_error_code, 
                               output => \%expected_downloaded_files);
-$the_test->run();
+exit $the_test->run();
 
 # vim: et ts=4 sw=4