]> sjero.net Git - wget/blobdiff - tests/Test-O.px
Automated merge.
[wget] / tests / Test-O.px
index 722ff39c07aeea2bf6fd401d89457b5c5f9a041f..1f4e8efe65fae32ab829ab52dbcb9c129ef0200f 100755 (executable)
@@ -23,7 +23,7 @@ my %urls = (
     },
 );
 
-my $cmdline = "wget -O out http://localhost:8080/dummy.txt";
+my $cmdline = $WgetTest::WGETPATH . " -O out http://localhost:{{port}}/dummy.txt";
 
 my $expected_error_code = 0;
 
@@ -40,7 +40,7 @@ my $the_test = HTTPTest->new (name => "Test-O",
                               cmdline => $cmdline, 
                               errcode => $expected_error_code, 
                               output => \%expected_downloaded_files);
-$the_test->run();
+exit $the_test->run();
 
 # vim: et ts=4 sw=4