diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-11-29 12:10:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-11-29 12:10:09 +0000 |
commit | 0eb8414750456a7a2584a8863b1e217e8bff88cd (patch) | |
tree | bd5c9d2ecd88446c8b1ea2f8e14e303fe9718db6 /tests/FILEFORMAT | |
parent | 09717d3fc82a858620026538600c311a851dfe14 (diff) |
Enable test cases to provide sections base64-encoded to be able to test
with binary data.
Diffstat (limited to 'tests/FILEFORMAT')
-rw-r--r-- | tests/FILEFORMAT | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index b65b6b2ca..92c7416b5 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -14,7 +14,7 @@ specified, that will be checked/used if specified. This document includes all the subsections currently supported. <reply> -<data [nocheck=1] [sendzero=yes]> +<data [nocheck=1] [sendzero=yes] [base64=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. @@ -31,6 +31,11 @@ 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. + +'base64' set to yes means that the data provided in the test-file is a chunk +of data encoded with base64. It is the only way a test case can contain binary +data. (This attribute can in fact be used on any section, but it doesn't make +much sense for other sections than "data"). </data> <dataNUM> Send back this contents instead of the <data> one. The num is set by: |