X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-ftp-iri-fallback.px;h=f485721324d16067c77823a8e50e4a6ca7a990a8;hb=30391ad9b479dfb0538c85c86976ab7fa24bacc2;hp=8902e0f9a1392ca527d3b601f72cdd49066c4082;hpb=a0c75a96c03353e3dbeb963758bf36ea20cc0cb6;p=wget diff --git a/tests/Test-ftp-iri-fallback.px b/tests/Test-ftp-iri-fallback.px index 8902e0f9..f4857213 100755 --- a/tests/Test-ftp-iri-fallback.px +++ b/tests/Test-ftp-iri-fallback.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use FTPTest; @@ -23,7 +24,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;