X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-nonexisting-quiet.px;h=04e11587ebdcafd21600851be4298cabf332a953;hp=45f24390450bff7b76f42b31d5934ef7fdd63995;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=829f83bf5bce33e856971b55a8e00c3560da7b4b diff --git a/tests/Test-nonexisting-quiet.px b/tests/Test-nonexisting-quiet.px index 45f24390..04e11587 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,7 +24,7 @@ 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;