X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-Restrict-Uppercase.px;h=14fa81f4373296429e0cbc051abd2eaeb60877c2;hb=f0438edcf2e34169fb0792119ac9ce10ae35a564;hp=e2294030b089b78fdd6f7cfe98e811a4d972143e;hpb=f0b4f352bfedd1ac5b639db801445261f19a73ff;p=wget diff --git a/tests/Test-Restrict-Uppercase.px b/tests/Test-Restrict-Uppercase.px index e2294030..14fa81f4 100755 --- a/tests/Test-Restrict-Uppercase.px +++ b/tests/Test-Restrict-Uppercase.px @@ -32,7 +32,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; @@ -44,12 +44,12 @@ my %expected_downloaded_files = ( ############################################################################### -my $the_test = HTTPTest->new (name => "Test9", +my $the_test = HTTPTest->new (name => "Test-Restrict-Uppercase", input => \%urls, cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4