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