From: Micah Cowan Date: Sun, 1 Jun 2008 01:17:45 +0000 (-0700) Subject: Test-c-partial.px improvement. X-Git-Tag: v1.13~421^2~12^2~7^2 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=6d88509ab55f54d9b76be4fcb7d2ac0da810b2bd Test-c-partial.px improvement. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index eae26707..73d93a2f 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -5,9 +5,10 @@ * Test-N-old.px: Make it test only the timestamp, and not the content length in addition. - * Test-N-smaller.px: added. + * Test-N-smaller.px, Test-N-no-info.px: added. - * Test-N-no-info.px: added. + * Test-c-partial.px: Improve checking that the file was + partially retrieved, rather than overwritten. * run-px: Added Test-N-smaller.px, Test-N-no-info.px. diff --git a/tests/Test-c-partial.px b/tests/Test-c-partial.px index ee48cbf6..ddf1d4be 100755 --- a/tests/Test-c-partial.px +++ b/tests/Test-c-partial.px @@ -9,17 +9,22 @@ use HTTPTest; my $partiallydownloaded = < { @@ -44,7 +49,7 @@ my %existing_files = ( my %expected_downloaded_files = ( 'somefile.txt' => { - content => $wholefile, + content => $downloadedfile, }, );