X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-O-nonexisting.px;h=60ef7c70b1c7c8db2b0c2146771ffa9c9b98b663;hb=1777835073cad695bce04848aa6f33e9686e7fc1;hp=347dc38e068617fdf4701d8aac0f98d2750a92aa;hpb=caae3b70f46bd519857b595f7f06ea0179551336;p=wget diff --git a/tests/Test-O-nonexisting.px b/tests/Test-O-nonexisting.px index 347dc38e..60ef7c70 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; @@ -23,7 +24,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " --quiet -O out http://localhost:8080/nonexistent"; +my $cmdline = $WgetTest::WGETPATH . " --quiet -O out http://localhost:{{port}}/nonexistent"; my $expected_error_code = 256;