X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-nonexisting-quiet.px;h=62ee24167bcf4a1be4294c336d4e48c02c9230a0;hp=04e11587ebdcafd21600851be4298cabf332a953;hb=320cfdcb658e8d6556ae9dfd902c2db1db866a6b;hpb=289ff1c86acbd60e09cb15d22df62b8e19942c3e diff --git a/tests/Test-nonexisting-quiet.px b/tests/Test-nonexisting-quiet.px index 04e11587..62ee2416 100755 --- a/tests/Test-nonexisting-quiet.px +++ b/tests/Test-nonexisting-quiet.px @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -26,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 = ( ); @@ -34,9 +34,9 @@ my %expected_downloaded_files = ( ############################################################################### my $the_test = HTTPTest->new (name => "Test-nonexisting-quiet", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, + input => \%urls, + cmdline => $cmdline, + errcode => $expected_error_code, output => \%expected_downloaded_files); exit $the_test->run();