X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-np.px;h=8a14b32d19b0518367b8368b116f9b90203af89b;hb=0273ca4988992ec12f0aa399466da5bbe2bebbe9;hp=dcb165fda033a21a2867301d57ae3e65e891b3dc;hpb=92b2323253a9cc0e5e3491fe1895ef710315aed7;p=wget diff --git a/tests/Test-np.px b/tests/Test-np.px index dcb165fd..8a14b32d 100755 --- a/tests/Test-np.px +++ b/tests/Test-np.px @@ -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