From 6d88509ab55f54d9b76be4fcb7d2ac0da810b2bd Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Sat, 31 May 2008 18:17:45 -0700 Subject: [PATCH] Test-c-partial.px improvement. --- tests/ChangeLog | 5 +++-- tests/Test-c-partial.px | 15 ++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) 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, }, ); -- 2.39.2