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