X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-iri.px;h=4865a1cd29ddc089138ae6f2e01c93f900d7f322;hp=01e1c50a8b74a8bfd7301f14624cc979911873cb;hb=HEAD;hpb=d5e283b1a75c5f8249300b465b4e7b55130bec49 diff --git a/tests/Test-iri.px b/tests/Test-iri.px index 01e1c50a..4865a1cd 100755 --- a/tests/Test-iri.px +++ b/tests/Test-iri.px @@ -1,8 +1,9 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; +use WgetFeature qw(iri); use HTTPTest; # cf. http://en.wikipedia.org/wiki/Latin1 @@ -185,7 +186,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " -d --iri --restrict-file-names=nocontrol -nH -r http://localhost:{{port}}/"; +my $cmdline = $WgetTest::WGETPATH . " --iri --trust-server-names --restrict-file-names=nocontrol -nH -r http://localhost:{{port}}/"; my $expected_error_code = 0;