X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-HTTP-Content-Disposition.px;h=afc964a4e1df4fc11abfc6b19f9bd8c6c653d206;hp=2a8fd398507a54343d160d15359d10adcf5af6f8;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=829f83bf5bce33e856971b55a8e00c3560da7b4b diff --git a/tests/Test-HTTP-Content-Disposition.px b/tests/Test-HTTP-Content-Disposition.px index 2a8fd398..afc964a4 100755 --- a/tests/Test-HTTP-Content-Disposition.px +++ b/tests/Test-HTTP-Content-Disposition.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -33,7 +34,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " http://localhost:8080/dummy.html"; +my $cmdline = $WgetTest::WGETPATH . " -e contentdisposition=on http://localhost:{{port}}/dummy.html"; my $expected_error_code = 0;