X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-O.px;h=e584d060f5899881ef5df6c1e48e2d3e2549f87f;hb=0273ca4988992ec12f0aa399466da5bbe2bebbe9;hp=722ff39c07aeea2bf6fd401d89457b5c5f9a041f;hpb=227d03c80379c269eaf7ee57da711f22d13b33b8;p=wget diff --git a/tests/Test-O.px b/tests/Test-O.px old mode 100644 new mode 100755 index 722ff39c..e584d060 --- a/tests/Test-O.px +++ b/tests/Test-O.px @@ -23,7 +23,7 @@ my %urls = ( }, ); -my $cmdline = "wget -O out http://localhost:8080/dummy.txt"; +my $cmdline = $WgetTest::WGETPATH . " -O out http://localhost:8080/dummy.txt"; my $expected_error_code = 0; @@ -40,7 +40,7 @@ my $the_test = HTTPTest->new (name => "Test-O", cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4