X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-c-shorter.px;h=c4802dacfe87e0319310ea2d96665003b0219d6b;hp=432cab92fff726d350c5611e8154fb31f88c69e9;hb=HEAD;hpb=090f1596ae2eb446c265a62849f59657a9ee9e07 diff --git a/tests/Test-c-shorter.px b/tests/Test-c-shorter.px index 432cab92..c4802dac 100755 --- a/tests/Test-c-shorter.px +++ b/tests/Test-c-shorter.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl use strict; +use warnings; use HTTPTest; @@ -53,9 +54,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-c-partial", - 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();