]> sjero.net Git - wget/blobdiff - tests/Test-cookies-401.px
Fix build when libpsl is not available
[wget] / tests / Test-cookies-401.px
index e1030c3b0a456f58c8d64f40a10904284c6f5066..1c0249044d96cb86d21d383797216ff265daf630 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 http://localhost:{{port}}/one.txt"
+my $cmdline = $WgetTest::WGETPATH . " http://localhost:{{port}}/one.txt"
     . " http://localhost:{{port}}/two.txt";
 
 my $expected_error_code = 6;
@@ -43,9 +43,9 @@ my %expected_downloaded_files = (
 ###############################################################################
 
 my $the_test = HTTPTest->new (name => "Test-cookies-401",
-                              input => \%urls, 
-                              cmdline => $cmdline, 
-                              errcode => $expected_error_code, 
+                              input => \%urls,
+                              cmdline => $cmdline,
+                              errcode => $expected_error_code,
                               output => \%expected_downloaded_files);
 exit $the_test->run();