diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-08-23 14:40:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-08-23 14:40:43 +0000 |
commit | 464be27479925e727eea688da93704aff7e17a1e (patch) | |
tree | bf022acb7d59f81d9f9a5089f003bad391bdff3a /tests/runtests.pl | |
parent | d736ac51c047119c8d82df9f18b127cbcecc86c6 (diff) | |
download | curl-464be27479925e727eea688da93704aff7e17a1e.tar.gz |
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-x | tests/runtests.pl | 2 |
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); |