X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-nonexisting-quiet.px;h=fa6fa0f2477dfc0afa8530fd9f4437088ac8a060;hp=45f24390450bff7b76f42b31d5934ef7fdd63995;hb=1fe5ddb7feb233de8b312c24a2b3a482316026aa;hpb=caae3b70f46bd519857b595f7f06ea0179551336 diff --git a/tests/Test-nonexisting-quiet.px b/tests/Test-nonexisting-quiet.px index 45f24390..fa6fa0f2 100755 --- a/tests/Test-nonexisting-quiet.px +++ b/tests/Test-nonexisting-quiet.px @@ -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 = ( );