X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-O-nonexisting.px;h=89744fc883b350e7984a39218bb0125039cde15d;hp=b341b7f16373958e7b8ca2b9488aee7ced921ce9;hb=d3007f1b3a5d033babe40bc4c56a899eb3b10bfa;hpb=227d03c80379c269eaf7ee57da711f22d13b33b8 diff --git a/tests/Test-O-nonexisting.px b/tests/Test-O-nonexisting.px old mode 100644 new mode 100755 index b341b7f1..89744fc8 --- 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:{{port}}/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