]> sjero.net Git - wget/blobdiff - tests/Test-ftp-iri.px
NEWS: cite --start-pos
[wget] / tests / Test-ftp-iri.px
index d453669c51cba84a60ba6bbd34ea2e17e684ce41..a4b7fe1be9d3274da9a4bfd071e049851b483f3a 100755 (executable)
@@ -1,7 +1,9 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env 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;
 
@@ -37,9 +39,9 @@ my %expected_downloaded_files = (
 ###############################################################################
 
 my $the_test = FTPTest->new (name => "Test-ftp-iri",
-                             input => \%urls, 
-                             cmdline => $cmdline, 
-                             errcode => $expected_error_code, 
+                             input => \%urls,
+                             cmdline => $cmdline,
+                             errcode => $expected_error_code,
                              output => \%expected_downloaded_files);
 exit $the_test->run();