]> sjero.net Git - wget/blobdiff - tests/Test-noop.px
Updated config.guess, config.sub, install.sh.
[wget] / tests / Test-noop.px
index 296e845a42de4d00051226a17e20a8e00b808199..1e0d1871678b5a8827df4bbdd124b41c8b379b04 100755 (executable)
@@ -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