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