]> sjero.net Git - wget/blobdiff - tests/Test-c-partial.px
Catch failures in Test-N-current.px.
[wget] / tests / Test-c-partial.px
index 8661cfa6571417d14a726a5013b6dc8e35d7ccf2..ee48cbf621ba2ee82becac724eb6c8ab2b4375f1 100755 (executable)
@@ -32,7 +32,7 @@ my %urls = (
     },
 );
 
-my $cmdline = "wget -c http://localhost:8080/somefile.txt";
+my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:8080/somefile.txt";
 
 my $expected_error_code = 0;
 
@@ -56,7 +56,7 @@ my $the_test = HTTPTest->new (name => "Test-c-partial",
                               errcode => $expected_error_code, 
                               existing => \%existing_files,
                               output => \%expected_downloaded_files);
-$the_test->run();
+exit $the_test->run();
 
 # vim: et ts=4 sw=4