X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-Restrict-Uppercase.px;h=afbae15f8cfb23da4bf8aa0daaa50fc329724102;hb=4a08094db88011153adadbf995103770b20d2a31;hp=cefa172232bcecd4eb06a589f736c57edcd583cf;hpb=829f83bf5bce33e856971b55a8e00c3560da7b4b;p=wget diff --git a/tests/Test-Restrict-Uppercase.px b/tests/Test-Restrict-Uppercase.px index cefa1722..afbae15f 100755 --- a/tests/Test-Restrict-Uppercase.px +++ b/tests/Test-Restrict-Uppercase.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -32,7 +33,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " --restrict-file-names=uppercase http://localhost:8080/SomePage.html"; +my $cmdline = $WgetTest::WGETPATH . " --restrict-file-names=uppercase http://localhost:{{port}}/SomePage.html"; my $expected_error_code = 0; @@ -45,9 +46,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-Restrict-Uppercase", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();