X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-HTTP-Content-Disposition-1.px;h=ef82eda900d093b56403f9203ffac59d0826fbff;hb=12218d353bb16f44a631a6d96fc4c882c70fd8eb;hp=01fb09017d6ce8b08d4a506b34241d29563a417d;hpb=2e2ac6ad2fc90eaf46ae5fee0bc4f61dd97b4284;p=wget diff --git a/tests/Test-HTTP-Content-Disposition-1.px b/tests/Test-HTTP-Content-Disposition-1.px index 01fb0901..ef82eda9 100755 --- a/tests/Test-HTTP-Content-Disposition-1.px +++ b/tests/Test-HTTP-Content-Disposition-1.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-1", - 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();