]> sjero.net Git - wget/blobdiff - tests/Test-N-HTTP-Content-Disposition.px
NEWS: cite --start-pos
[wget] / tests / Test-N-HTTP-Content-Disposition.px
index 42aa39ad8c6f0ac2691b0de0ab9b3288c2df7c52..ab8cea82b8d7a5304f2b31645105d48854726b97 100755 (executable)
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 
 use strict;
+use warnings;
 
 use HTTPTest;
 
@@ -26,7 +27,7 @@ my %urls = (
 );
 
 my $cmdline = $WgetTest::WGETPATH . " -N --content-disposition "
-              . "http://localhost:8080/dummy.txt";
+              . "http://localhost:{{port}}/dummy.txt";
 
 my $expected_error_code = 0;
 
@@ -40,9 +41,9 @@ my %expected_downloaded_files = (
 ###############################################################################
 
 my $the_test = HTTPTest->new (name => "Test-N-HTTP-Content-Disposition",
-                              input => \%urls, 
-                              cmdline => $cmdline, 
-                              errcode => $expected_error_code, 
+                              input => \%urls,
+                              cmdline => $cmdline,
+                              errcode => $expected_error_code,
                               output => \%expected_downloaded_files);
 exit $the_test->run();