X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-HTTP-Content-Disposition-2.px;h=6550d36f1350ae18fd04cd22ac03d8dfdf5de532;hp=589329f56df560e68d9490da051dd1bb0970cf9f;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=227d03c80379c269eaf7ee57da711f22d13b33b8 diff --git a/tests/Test-HTTP-Content-Disposition-2.px b/tests/Test-HTTP-Content-Disposition-2.px old mode 100644 new mode 100755 index 589329f5..6550d36f --- a/tests/Test-HTTP-Content-Disposition-2.px +++ b/tests/Test-HTTP-Content-Disposition-2.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -37,7 +38,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 +71,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