X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-E-k.px;h=40d6b6dcb3e3681b31e33b22e5b29d011ed12661;hp=86e2dcf62524986e142626d6e34ea99be989378d;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=227d03c80379c269eaf7ee57da711f22d13b33b8 diff --git a/tests/Test-E-k.px b/tests/Test-E-k.px old mode 100644 new mode 100755 index 86e2dcf6..40d6b6dc --- a/tests/Test-E-k.px +++ b/tests/Test-E-k.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -13,7 +14,7 @@ my $mainpage = <Main Page Title - Secondary Page + Secondary Page EOF @@ -60,7 +61,7 @@ my %urls = ( }, ); -my $cmdline = "wget -r -nd -E -k http://localhost:8080/index.php"; +my $cmdline = $WgetTest::WGETPATH . " -r -nd -E -k http://localhost:{{port}}/index.php"; my $expected_error_code = 0; @@ -80,7 +81,7 @@ my $the_test = HTTPTest->new (name => "Test-E-k", cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4