X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-c.px;h=2fb705f1b3f9ab3c81d15faf4b2e4ef454ea6c34;hb=1777835073cad695bce04848aa6f33e9686e7fc1;hp=58b45f722f7e6d56d905992a3ebb42f96a344d4e;hpb=829f83bf5bce33e856971b55a8e00c3560da7b4b;p=wget diff --git a/tests/Test-c.px b/tests/Test-c.px index 58b45f72..2fb705f1 100755 --- a/tests/Test-c.px +++ b/tests/Test-c.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -27,7 +28,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;