X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-O--no-content-disposition.px;h=3369ec42fb99cb2be2e9f6023cb9ca32b725eab1;hb=1fe5ddb7feb233de8b312c24a2b3a482316026aa;hp=47cab0717586c58d7dc19a9b40ab33576899bba6;hpb=caae3b70f46bd519857b595f7f06ea0179551336;p=wget diff --git a/tests/Test-O--no-content-disposition.px b/tests/Test-O--no-content-disposition.px index 47cab071..3369ec42 100755 --- a/tests/Test-O--no-content-disposition.px +++ b/tests/Test-O--no-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 --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;