X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-O-nonexisting.px;h=347dc38e068617fdf4701d8aac0f98d2750a92aa;hb=fbe701ce28278fd58f67464518ece3f26882a2fa;hp=b341b7f16373958e7b8ca2b9488aee7ced921ce9;hpb=92b2323253a9cc0e5e3491fe1895ef710315aed7;p=wget diff --git a/tests/Test-O-nonexisting.px b/tests/Test-O-nonexisting.px index b341b7f1..347dc38e 100755 --- a/tests/Test-O-nonexisting.px +++ b/tests/Test-O-nonexisting.px @@ -23,7 +23,7 @@ my %urls = ( }, ); -my $cmdline = "wget --quiet -O out http://localhost:8080/nonexistent"; +my $cmdline = $WgetTest::WGETPATH . " --quiet -O out http://localhost:8080/nonexistent"; my $expected_error_code = 256; @@ -40,7 +40,7 @@ my $the_test = HTTPTest->new (name => "Test-O-nonexisting", cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4