X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-c-partial.px;h=57095472e9b57d90382053287fb7bba0f07031a8;hb=1777835073cad695bce04848aa6f33e9686e7fc1;hp=ddf1d4be19b96db31da0b6f318a797110b3d553b;hpb=6d88509ab55f54d9b76be4fcb7d2ac0da810b2bd;p=wget 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;