aboutsummaryrefslogtreecommitdiff
path: root/tests/FILEFORMAT
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/FILEFORMAT
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/FILEFORMAT')
-rw-r--r--tests/FILEFORMAT8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index 2ccd45f5f..e7245bc3f 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -14,8 +14,8 @@ specified, that will be checked/used if specified. This document includes all
the subsections currently supported.
<reply>
-<data [nocheck=1]>
-data to sent to the client on its request and later verified that it arrived
+<data [nocheck=1] [sendzero=yes]>
+§data to sent to the client on its request and later verified that it arrived
safely. Set the nocheck=1 to prevent the test script to verify the arrival
of this data.
@@ -27,6 +27,10 @@ If the data contains 'swsbounce' anywhere within the start and end tag, the
HTTP server will detect if this is a second request using the same test and
part number and will then increase the part number with one. This is useful
for auth tests and similar.
+
+'sendzero' set to yes means that the (FTP) server will "send" the data even if
+the size is zero bytes. Used to verify curl's behaviour on zero bytes
+transfers.
</data>
<dataNUM>
Send back this contents instead of the <data> one. The num is set by: