X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-ftp-iri.px;h=7bedb891c3ec29240d1bc2db1425a5aea6e48983;hp=d453669c51cba84a60ba6bbd34ea2e17e684ce41;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=a0c75a96c03353e3dbeb963758bf36ea20cc0cb6 diff --git a/tests/Test-ftp-iri.px b/tests/Test-ftp-iri.px index d453669c..7bedb891 100755 --- a/tests/Test-ftp-iri.px +++ b/tests/Test-ftp-iri.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use FTPTest; @@ -24,7 +25,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;