X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-O-nonexisting.px;h=c8df6d726ca2b1bec47d54e9d013259c828e06f1;hp=89744fc883b350e7984a39218bb0125039cde15d;hb=b014f8fae9291e7504c0cca2dd8b9a0035466c03;hpb=f0f56db5cb517a44199b3c9819240c8b0a39b4cd diff --git a/tests/Test-O-nonexisting.px b/tests/Test-O-nonexisting.px index 89744fc8..c8df6d72 100755 --- a/tests/Test-O-nonexisting.px +++ b/tests/Test-O-nonexisting.px @@ -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 -O out http://localhost:{{port}}/nonexistent"; -my $expected_error_code = 256; +my $expected_error_code = 8; my %expected_downloaded_files = ( 'out' => {