]> sjero.net Git - wget/blobdiff - tests/Test-Restrict-Uppercase.px
Updated config.guess, config.sub, install.sh.
[wget] / tests / Test-Restrict-Uppercase.px
index 05e5bcde014f4916ec47a04bf81d5ec89051a3ec..1175fbd27972e9633646b416f9fab2ab701a3ce6 100755 (executable)
@@ -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=uppercase http://localhost:8080/SomePage.html";
+my $cmdline = $WgetTest::WGETPATH . " --restrict-file-names=uppercase http://localhost:{{port}}/SomePage.html";
 
 my $expected_error_code = 0;
 
@@ -49,7 +50,7 @@ my $the_test = HTTPTest->new (name => "Test-Restrict-Uppercase",
                               cmdline => $cmdline, 
                               errcode => $expected_error_code, 
                               output => \%expected_downloaded_files);
-$the_test->run();
+exit $the_test->run();
 
 # vim: et ts=4 sw=4