X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-O.px;h=552c665438a19f30f26d84081061e30553401046;hb=42d953765b5e9bc82d8af862a0a6fd17d6c5f67e;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..552c6654 --- a/tests/Test-O.px +++ b/tests/Test-O.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -23,7 +24,7 @@ my %urls = ( }, ); -my $cmdline = "wget -O out http://localhost:8080/dummy.txt"; +my $cmdline = $WgetTest::WGETPATH . " -O out http://localhost:{{port}}/dummy.txt"; my $expected_error_code = 0; @@ -40,7 +41,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