]> sjero.net Git - wget/blobdiff - tests/Test--spider-r.px
Catch failures in Test-N-current.px.
[wget] / tests / Test--spider-r.px
index 94ca2c7a905a46e39385a46ee666c48e5231740b..7b8d460f107d1ee59784f7973e43241841102b59 100755 (executable)
@@ -89,7 +89,7 @@ my %urls = (
     },
 );
 
-my $cmdline = "wget --spider -r http://localhost:8080/";
+my $cmdline = $WgetTest::WGETPATH . " --spider -r http://localhost:8080/";
 
 my $expected_error_code = 0;
 
@@ -103,7 +103,7 @@ my $the_test = HTTPTest->new (name => "Test--spider-r",
                               cmdline => $cmdline, 
                               errcode => $expected_error_code, 
                               output => \%expected_downloaded_files);
-$the_test->run();
+exit $the_test->run();
 
 # vim: et ts=4 sw=4