]> sjero.net Git - wget/blobdiff - tests/Test-c.px
Fix build when libpsl is not available
[wget] / tests / Test-c.px
index 8c61eb06e46d37041156af27e82c197202e64b58..0326697eb27bcb54eecbe0d2df3178fc95db1cc1 100755 (executable)
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 
 use strict;
+use warnings;
 
 use HTTPTest;
 
@@ -43,9 +44,9 @@ my %expected_downloaded_files = (
 ###############################################################################
 
 my $the_test = HTTPTest->new (name => "Test-c",
-                              input => \%urls, 
-                              cmdline => $cmdline, 
-                              errcode => $expected_error_code, 
+                              input => \%urls,
+                              cmdline => $cmdline,
+                              errcode => $expected_error_code,
                               existing => \%existing_files,
                               output => \%expected_downloaded_files);
 exit $the_test->run();