]> sjero.net Git - wget/blobdiff - tests/Test-ftp.px
Fix build when libpsl is not available
[wget] / tests / Test-ftp.px
index 8cef5a55f8f9ca26c91a06dbdba787484cbe7a76..2b8e25beb4daae8972b11e83baa263d06dc16d25 100755 (executable)
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 
 use strict;
+use warnings;
 
 use FTPTest;
 
@@ -34,9 +35,9 @@ my %expected_downloaded_files = (
 ###############################################################################
 
 my $the_test = FTPTest->new (name => "Test-ftp",
-                             input => \%urls, 
-                             cmdline => $cmdline, 
-                             errcode => $expected_error_code, 
+                             input => \%urls,
+                             cmdline => $cmdline,
+                             errcode => $expected_error_code,
                              output => \%expected_downloaded_files);
 exit $the_test->run();