]> sjero.net Git - wget/blobdiff - tests/Test-HTTP-Content-Disposition-2.px
Automated merge.
[wget] / tests / Test-HTTP-Content-Disposition-2.px
index 8064f76bf2ef1da96d007bed66a49c29b5270fa3..46c16a179155bbd65eb6964222bf4b6a5694aab6 100755 (executable)
@@ -37,7 +37,7 @@ my %urls = (
     },
 );
 
-my $cmdline = "wget --no-content-disposition http://localhost:8080/dummy.html";
+my $cmdline = $WgetTest::WGETPATH . " --no-content-disposition http://localhost:{{port}}/dummy.html";
 
 my $expected_error_code = 0;
 
@@ -64,13 +64,13 @@ my %expected_downloaded_files = (
 
 ###############################################################################
 
-my $the_test = HTTPTest->new (name => "Test7",
+my $the_test = HTTPTest->new (name => "Test-HTTP-Content-Disposition-2",
                               input => \%urls, 
                               cmdline => $cmdline, 
                               errcode => $expected_error_code, 
                               existing => \%existing_files,
                               output => \%expected_downloaded_files);
-$the_test->run();
+exit $the_test->run();
 
 # vim: et ts=4 sw=4