X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-O-HTTP-Content-Disposition.px;h=e18880a7ff665994b160484819b66cd217d77c66;hp=b0a5aa4096abe79786e46a2d523313d932722402;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=caae3b70f46bd519857b595f7f06ea0179551336 diff --git a/tests/Test-O-HTTP-Content-Disposition.px b/tests/Test-O-HTTP-Content-Disposition.px index b0a5aa40..e18880a7 100755 --- a/tests/Test-O-HTTP-Content-Disposition.px +++ b/tests/Test-O-HTTP-Content-Disposition.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -24,7 +25,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " -O out http://localhost:8080/dummy.txt"; +my $cmdline = $WgetTest::WGETPATH . " -O out http://localhost:{{port}}/dummy.txt"; my $expected_error_code = 0;