X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-E-k-K.px;h=211988b8fa8913dfb308bb5e4b33fabdacf75a2d;hp=4a2cf6148e8f3e618bb2347a7d08eb7f06c1a154;hb=320cfdcb658e8d6556ae9dfd902c2db1db866a6b;hpb=1b4ed7dcb7bdad277a9ee2c5a42b6e70854db802 diff --git a/tests/Test-E-k-K.px b/tests/Test-E-k-K.px index 4a2cf614..211988b8 100755 --- a/tests/Test-E-k-K.px +++ b/tests/Test-E-k-K.px @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -61,7 +61,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " -d -r -nd -E -k -K http://localhost:{{port}}/index.php"; +my $cmdline = $WgetTest::WGETPATH . " -r -nd -E -k -K http://localhost:{{port}}/index.php"; my $expected_error_code = 0; @@ -80,9 +80,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-E-k-K", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();