X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-O.px;h=552c665438a19f30f26d84081061e30553401046;hp=e584d060f5899881ef5df6c1e48e2d3e2549f87f;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=829f83bf5bce33e856971b55a8e00c3560da7b4b diff --git a/tests/Test-O.px b/tests/Test-O.px index e584d060..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 = $WgetTest::WGETPATH . " -O out http://localhost:8080/dummy.txt"; +my $cmdline = $WgetTest::WGETPATH . " -O out http://localhost:{{port}}/dummy.txt"; my $expected_error_code = 0;