X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-ftp-iri.px;h=7594a80ca8448c1ef7810867bf1e2d4ec9366582;hp=d453669c51cba84a60ba6bbd34ea2e17e684ce41;hb=aab7dadc9a4f55d3a7921a2844ba1bbc18f7fc10;hpb=090f1596ae2eb446c265a62849f59657a9ee9e07 diff --git a/tests/Test-ftp-iri.px b/tests/Test-ftp-iri.px index d453669c..7594a80c 100755 --- a/tests/Test-ftp-iri.px +++ b/tests/Test-ftp-iri.px @@ -1,7 +1,9 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; +use WgetFeature qw(iri); use FTPTest; @@ -24,7 +26,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " --locale=iso-8859-1 -S ftp://localhost:{{port}}/fran${ccedilla_l1}ais.txt"; +my $cmdline = $WgetTest::WGETPATH . " --local-encoding=iso-8859-1 -S ftp://localhost:{{port}}/fran${ccedilla_l1}ais.txt"; my $expected_error_code = 0;