X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-O-nonexisting.px;h=c8df6d726ca2b1bec47d54e9d013259c828e06f1;hb=1fe5ddb7feb233de8b312c24a2b3a482316026aa;hp=347dc38e068617fdf4701d8aac0f98d2750a92aa;hpb=829f83bf5bce33e856971b55a8e00c3560da7b4b;p=wget diff --git a/tests/Test-O-nonexisting.px b/tests/Test-O-nonexisting.px index 347dc38e..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; @@ -23,9 +24,9 @@ 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; +my $expected_error_code = 8; my %expected_downloaded_files = ( 'out' => {