X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-c-partial.px;h=57095472e9b57d90382053287fb7bba0f07031a8;hp=ddf1d4be19b96db31da0b6f318a797110b3d553b;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=b4077ab56ae658a9a067deeafeb8c540cf947721 diff --git a/tests/Test-c-partial.px b/tests/Test-c-partial.px index ddf1d4be..57095472 100755 --- a/tests/Test-c-partial.px +++ b/tests/Test-c-partial.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -37,7 +38,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:8080/somefile.txt"; +my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:{{port}}/somefile.txt"; my $expected_error_code = 0;