]> sjero.net Git - wget/blobdiff - tests/Test-iri-disabled.px
Fix build when libpsl is not available
[wget] / tests / Test-iri-disabled.px
index 02fc4d3a1f96538a549e88809dcbfe382ff43bd0..c226a6e4cfdc18f1d2060d504fd452013a403230 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 use strict;
 use warnings;
@@ -162,7 +162,7 @@ my %urls = (
     },
 );
 
-my $cmdline = $WgetTest::WGETPATH . " --iri=no -nH -r http://localhost:{{port}}/";
+my $cmdline = $WgetTest::WGETPATH . " --no-iri -nH -r http://localhost:{{port}}/";
 
 my $expected_error_code = 0;
 
@@ -187,9 +187,9 @@ my %expected_downloaded_files = (
 ###############################################################################
 
 my $the_test = HTTPTest->new (name => "Test-iri-disabled",
-                              input => \%urls, 
-                              cmdline => $cmdline, 
-                              errcode => $expected_error_code, 
+                              input => \%urls,
+                              cmdline => $cmdline,
+                              errcode => $expected_error_code,
                               output => \%expected_downloaded_files);
 exit $the_test->run();