X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-HTTP-Content-Disposition-2.px;h=55b2abb235b4c8ae1bfad7e324bdede753b7453c;hp=46c16a179155bbd65eb6964222bf4b6a5694aab6;hb=320cfdcb658e8d6556ae9dfd902c2db1db866a6b;hpb=f0f56db5cb517a44199b3c9819240c8b0a39b4cd diff --git a/tests/Test-HTTP-Content-Disposition-2.px b/tests/Test-HTTP-Content-Disposition-2.px index 46c16a17..55b2abb2 100755 --- 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/env perl use strict; +use warnings; use HTTPTest; @@ -65,9 +66,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-HTTP-Content-Disposition-2", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, existing => \%existing_files, output => \%expected_downloaded_files); exit $the_test->run();