From 0eb8414750456a7a2584a8863b1e217e8bff88cd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 29 Nov 2004 12:10:09 +0000 Subject: Enable test cases to provide sections base64-encoded to be able to test with binary data. --- tests/FILEFORMAT | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/FILEFORMAT') 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. - + §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"). Send back this contents instead of the one. The num is set by: -- cgit v1.2.3