X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-HTTP-Content-Disposition-2.px;h=46c16a179155bbd65eb6964222bf4b6a5694aab6;hb=72687f78cbb9f9d6039ed0c06831e3a3444116b4;hp=589329f56df560e68d9490da051dd1bb0970cf9f;hpb=92b2323253a9cc0e5e3491fe1895ef710315aed7;p=wget diff --git a/tests/Test-HTTP-Content-Disposition-2.px b/tests/Test-HTTP-Content-Disposition-2.px index 589329f5..46c16a17 100755 --- a/tests/Test-HTTP-Content-Disposition-2.px +++ b/tests/Test-HTTP-Content-Disposition-2.px @@ -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; @@ -70,7 +70,7 @@ my $the_test = HTTPTest->new (name => "Test-HTTP-Content-Disposition-2", errcode => $expected_error_code, existing => \%existing_files, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4