X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-O--no-content-disposition.px;h=92263ffc1c6c56777f0a8dede3775bdba3920b2c;hb=8c2fd06ba80b5312b4540859d452664450ec054f;hp=592f0fec2303c72ae1c778a8a8d49502b3c7c381;hpb=1a33947ca02dbb568eda1eb0a020abe39e87d86d;p=wget diff --git a/tests/Test-O--no-content-disposition.px b/tests/Test-O--no-content-disposition.px index 592f0fec..92263ffc 100755 --- a/tests/Test-O--no-content-disposition.px +++ b/tests/Test-O--no-content-disposition.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl use strict; +use warnings; use HTTPTest; @@ -37,9 +38,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-O--no-content-disposition", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();