]> sjero.net Git - wget/blobdiff - tests/Test-ftp-bad-list.px
Fix build when libpsl is not available
[wget] / tests / Test-ftp-bad-list.px
index 11a973fd58f60dc01404cb97bc335876f6e1e65d..8584d0a6c564a1a59d81c6ceda2aa2c9225e1020 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 use strict;
 use warnings;
@@ -29,7 +29,7 @@ my %urls = (
     },
 );
 
-my $cmdline = $WgetTest::WGETPATH . " -d -nH -Nc -r ftp://localhost:{{port}}/";
+my $cmdline = $WgetTest::WGETPATH . " -nH -Nc -r ftp://localhost:{{port}}/";
 
 my $expected_error_code = 0;
 
@@ -57,9 +57,9 @@ my %preexisting_files = (
 ###############################################################################
 
 my $the_test = FTPTest->new (name => "Test-ftp-bad-list",
-                             input => \%urls, 
-                             cmdline => $cmdline, 
-                             errcode => $expected_error_code, 
+                             input => \%urls,
+                             cmdline => $cmdline,
+                             errcode => $expected_error_code,
                              output => \%expected_downloaded_files,
                              existing => \%preexisting_files,
                              server_behavior => {bad_list => 1});