X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-O.px;h=552c665438a19f30f26d84081061e30553401046;hb=aab7dadc9a4f55d3a7921a2844ba1bbc18f7fc10;hp=722ff39c07aeea2bf6fd401d89457b5c5f9a041f;hpb=f0b4f352bfedd1ac5b639db801445261f19a73ff;p=wget diff --git a/tests/Test-O.px b/tests/Test-O.px index 722ff39c..552c6654 100755 --- 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