X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-c-partial.px;h=57095472e9b57d90382053287fb7bba0f07031a8;hb=1777835073cad695bce04848aa6f33e9686e7fc1;hp=ee48cbf621ba2ee82becac724eb6c8ab2b4375f1;hpb=caae3b70f46bd519857b595f7f06ea0179551336;p=wget diff --git a/tests/Test-c-partial.px b/tests/Test-c-partial.px index ee48cbf6..57095472 100755 --- a/tests/Test-c-partial.px +++ b/tests/Test-c-partial.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -9,17 +10,22 @@ use HTTPTest; my $partiallydownloaded = < { @@ -32,7 +38,7 @@ my %urls = ( }, ); -my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:8080/somefile.txt"; +my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:{{port}}/somefile.txt"; my $expected_error_code = 0; @@ -44,7 +50,7 @@ my %existing_files = ( my %expected_downloaded_files = ( 'somefile.txt' => { - content => $wholefile, + content => $downloadedfile, }, );