summaryrefslogtreecommitdiff
path: root/tests/FILEFORMAT
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2017-05-06 09:04:00 +0200
committerDan Fandrich <dan@coneharvesters.com>2017-05-06 09:04:00 +0200
commitba5fa1c7a825da75da6f0686ee89e2b64a9cb0f5 (patch)
tree5406a9235155add175feae8bce933f8749604435 /tests/FILEFORMAT
parent6dc3422d48b002887ae3a78afdf626f792397c06 (diff)
downloadcurl-ba5fa1c7a825da75da6f0686ee89e2b64a9cb0f5.tar.gz
runtests.pl: simplify the datacheck read section
Also, document that numbered datacheck sections are possible.
Diffstat (limited to 'tests/FILEFORMAT')
-rw-r--r--tests/FILEFORMAT12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index 04a6daeb7..5c1e96f53 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -86,11 +86,18 @@ The connect section is used instead of the 'data' for all CONNECT
requests. The remainder of the rules for the data section then apply but with
a connect prefix.
</connect>
-<datacheck [nonewline="yes"]>
+<datacheck [mode="text"] [nonewline="yes"]>
if the data is sent but this is what should be checked afterwards. If
'nonewline' is set, we will cut off the trailing newline of this given data
-before comparing with the one actually received by the client
+before comparing with the one actually received by the client.
+
+Use the mode="text" attribute if the output is in text mode on platforms that
+have a text/binary difference.
</datacheck>
+<datacheckNUM [nonewline="yes"] [mode="text"]>
+The contents of numbered datacheck sections are appended to the non-numbered
+one.
+</datacheckNUM>
<size>
number to return on a ftp SIZE command (set to -1 to make this command fail)
</size>
@@ -176,6 +183,7 @@ ftp-ipv6
ftps
http
http-ipv6
+http-pipe
http-proxy
http-unix
https