]> sjero.net Git - wget/blobdiff - tests/Test-np.px
Automated merge with file:/home/micah/devel/wget/eleven
[wget] / tests / Test-np.px
index dcb165fda033a21a2867301d57ae3e65e891b3dc..8a14b32d19b0518367b8368b116f9b90203af89b 100755 (executable)
@@ -119,7 +119,7 @@ my %urls = (
     },
 );
 
-my $cmdline = "wget -np -nH -r http://localhost:8080/firstlevel/";
+my $cmdline = $WgetTest::WGETPATH . " -np -nH -r http://localhost:8080/firstlevel/";
 
 my $expected_error_code = 0;
 
@@ -142,7 +142,7 @@ my $the_test = HTTPTest->new (name => "Test-np",
                               cmdline => $cmdline, 
                               errcode => $expected_error_code, 
                               output => \%expected_downloaded_files);
-$the_test->run();
+exit $the_test->run();
 
 # vim: et ts=4 sw=4