]> sjero.net Git - wget/blobdiff - tests/Test-c.px
Updated config.guess, config.sub, install.sh.
[wget] / tests / Test-c.px
index 4306cab692fe6d4b1c63e2f9496235c7c3fa36a8..2fb705f1b3f9ab3c81d15faf4b2e4ef454ea6c34 100755 (executable)
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 
 use strict;
+use warnings;
 
 use HTTPTest;
 
@@ -27,7 +28,7 @@ my %urls = (
     },
 );
 
-my $cmdline = "wget -c http://localhost:8080/somefile.txt";
+my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:{{port}}/somefile.txt";
 
 my $expected_error_code = 0;
 
@@ -48,7 +49,7 @@ my $the_test = HTTPTest->new (name => "Test-c",
                               errcode => $expected_error_code, 
                               existing => \%existing_files,
                               output => \%expected_downloaded_files);
-$the_test->run();
+exit $the_test->run();
 
 # vim: et ts=4 sw=4