X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-iri-disabled.px;h=c226a6e4cfdc18f1d2060d504fd452013a403230;hp=02fc4d3a1f96538a549e88809dcbfe382ff43bd0;hb=HEAD;hpb=1b4ed7dcb7bdad277a9ee2c5a42b6e70854db802 diff --git a/tests/Test-iri-disabled.px b/tests/Test-iri-disabled.px index 02fc4d3a..c226a6e4 100755 --- a/tests/Test-iri-disabled.px +++ b/tests/Test-iri-disabled.px @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -162,7 +162,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " --iri=no -nH -r http://localhost:{{port}}/"; +my $cmdline = $WgetTest::WGETPATH . " --no-iri -nH -r http://localhost:{{port}}/"; my $expected_error_code = 0; @@ -187,9 +187,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-iri-disabled", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();