X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-Restrict-Lowercase.px;h=e5d270dc1e63be4657bc0a7b5f591aa55750873b;hb=30385d6c5dfc341fdce111392dbc55e5cdb9202a;hp=035b47a8e5cc6f1afa3a8c2b91dfc90862687f87;hpb=227d03c80379c269eaf7ee57da711f22d13b33b8;p=wget diff --git a/tests/Test-Restrict-Lowercase.px b/tests/Test-Restrict-Lowercase.px old mode 100644 new mode 100755 index 035b47a8..e5d270dc --- a/tests/Test-Restrict-Lowercase.px +++ b/tests/Test-Restrict-Lowercase.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 = "wget --restrict-file-names=lowercase http://localhost:8080/SomePage.html"; +my $cmdline = $WgetTest::WGETPATH . " --restrict-file-names=lowercase http://localhost:{{port}}/SomePage.html"; my $expected_error_code = 0; @@ -49,7 +50,7 @@ my $the_test = HTTPTest->new (name => "Test-Restrict-Lowercase", cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4