X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-HTTP-Content-Disposition.px;h=3b6eb2c9aaf98e4d3e286e6ef2669aba967076e9;hp=c9bc62fa9d0d5d2b00c17e860260359205bd13ef;hb=d3007f1b3a5d033babe40bc4c56a899eb3b10bfa;hpb=f0b4f352bfedd1ac5b639db801445261f19a73ff diff --git a/tests/Test-HTTP-Content-Disposition.px b/tests/Test-HTTP-Content-Disposition.px index c9bc62fa..3b6eb2c9 100755 --- a/tests/Test-HTTP-Content-Disposition.px +++ b/tests/Test-HTTP-Content-Disposition.px @@ -33,7 +33,7 @@ my %urls = ( }, ); -my $cmdline = "wget http://localhost:8080/dummy.html"; +my $cmdline = $WgetTest::WGETPATH . " -e contentdisposition=on http://localhost:{{port}}/dummy.html"; my $expected_error_code = 0; @@ -45,12 +45,12 @@ my %expected_downloaded_files = ( ############################################################################### -my $the_test = HTTPTest->new (name => "Test5", +my $the_test = HTTPTest->new (name => "Test-HTTP-Content-Disposition", input => \%urls, cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4