]> sjero.net Git - wget/blobdiff - tests/Test-nonexisting-quiet.px
Improved exit status handling.
[wget] / tests / Test-nonexisting-quiet.px
index 45f24390450bff7b76f42b31d5934ef7fdd63995..fa6fa0f2477dfc0afa8530fd9f4437088ac8a060 100755 (executable)
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 
 use strict;
+use warnings;
 
 use HTTPTest;
 
@@ -23,9 +24,9 @@ my %urls = (
     },
 );
 
-my $cmdline = $WgetTest::WGETPATH . " --quiet http://localhost:8080/nonexistent";
+my $cmdline = $WgetTest::WGETPATH . " --quiet http://localhost:{{port}}/nonexistent";
 
-my $expected_error_code = 256;
+my $expected_error_code = 8;
 
 my %expected_downloaded_files = (
 );