X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-O--no-content-disposition.px;h=92263ffc1c6c56777f0a8dede3775bdba3920b2c;hp=592f0fec2303c72ae1c778a8a8d49502b3c7c381;hb=320cfdcb658e8d6556ae9dfd902c2db1db866a6b;hpb=8e9648a972b88fa6eb2293383bd281c6021394d2 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();