X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-O--no-content-disposition-trivial.px;h=75a3e6f14f4140bfa6c725747fdb4e6eaa91cfd1;hp=be25960c8416758e33d797cbc6fb2c4f4b3bf1aa;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=e7d78dd2a75d0ea21a63ac4968df6079b8018cd5 diff --git a/tests/Test-O--no-content-disposition-trivial.px b/tests/Test-O--no-content-disposition-trivial.px index be25960c..75a3e6f1 100755 --- a/tests/Test-O--no-content-disposition-trivial.px +++ b/tests/Test-O--no-content-disposition-trivial.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -23,7 +24,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " -O out --no-content-disposition http://localhost:8080/dummy.txt"; +my $cmdline = $WgetTest::WGETPATH . " -O out --no-content-disposition http://localhost:{{port}}/dummy.txt"; my $expected_error_code = 0;