X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-N-HTTP-Content-Disposition.px;h=d33155e46d25a9e39112f1ab09f792456e7a6dbe;hp=42aa39ad8c6f0ac2691b0de0ab9b3288c2df7c52;hb=edc9055768fed952b30629a9e8fa38ef68761882;hpb=fb648cb8a622983fc2d06e90f7764a2da2905584 diff --git a/tests/Test-N-HTTP-Content-Disposition.px b/tests/Test-N-HTTP-Content-Disposition.px index 42aa39ad..d33155e4 100755 --- a/tests/Test-N-HTTP-Content-Disposition.px +++ b/tests/Test-N-HTTP-Content-Disposition.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -26,7 +27,7 @@ my %urls = ( ); my $cmdline = $WgetTest::WGETPATH . " -N --content-disposition " - . "http://localhost:8080/dummy.txt"; + . "http://localhost:{{port}}/dummy.txt"; my $expected_error_code = 0;