X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-noop.px;h=1e0d1871678b5a8827df4bbdd124b41c8b379b04;hp=296e845a42de4d00051226a17e20a8e00b808199;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=f0b4f352bfedd1ac5b639db801445261f19a73ff diff --git a/tests/Test-noop.px b/tests/Test-noop.px index 296e845a..1e0d1871 100755 --- a/tests/Test-noop.px +++ b/tests/Test-noop.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -33,7 +34,7 @@ my %urls = ( }, ); -my $cmdline = "wget http://localhost:8080/"; +my $cmdline = $WgetTest::WGETPATH . " http://localhost:{{port}}/"; my $expected_error_code = 0; @@ -50,7 +51,7 @@ my $the_test = HTTPTest->new (name => "Test-noop", cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4