aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-23 14:40:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-23 14:40:43 +0000
commit464be27479925e727eea688da93704aff7e17a1e (patch)
treebf022acb7d59f81d9f9a5089f003bad391bdff3a /tests/runtests.pl
parentd736ac51c047119c8d82df9f18b127cbcecc86c6 (diff)
Provide support for "transferring" zero bytes FTP files and comparing that
the output file actually is zero bytes after the transfer.
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 526d331e6..18b7e83ef 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -1147,7 +1147,7 @@ sub singletest {
}
my %replyattr = getpartattr("reply", "data");
- if(!$replyattr{'nocheck'} && @reply) {
+ if(!$replyattr{'nocheck'} && (@reply || $replyattr{'sendzero'})) {
# verify the received data
my @out = loadarray($CURLOUT);
$res = compare("data", \@out, \@reply);