X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-HTTP-Content-Disposition-2.px;h=03eb2beeebae2269a0870d616a3de866b5bf962b;hb=0273ca4988992ec12f0aa399466da5bbe2bebbe9;hp=8064f76bf2ef1da96d007bed66a49c29b5270fa3;hpb=f0b4f352bfedd1ac5b639db801445261f19a73ff;p=wget diff --git a/tests/Test-HTTP-Content-Disposition-2.px b/tests/Test-HTTP-Content-Disposition-2.px index 8064f76b..03eb2bee 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:8080/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