]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
FILEFORMAT: describe verify/stderr
authorDaniel Stenberg <daniel@haxx.se>
Thu, 18 Jun 2020 07:46:38 +0000 (09:46 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 18 Jun 2020 07:50:43 +0000 (09:50 +0200)
tests/FILEFORMAT.md

index 30c713a23d49ef77bade32346b23c4ab40d99c1b..62cddd1a702ec0d9edda06e07e9b96f6ba63199e 100644 (file)
@@ -444,6 +444,15 @@ server is used), if 'nonewline' is set, we will cut off the trailing newline
 of this given data before comparing with the one actually sent by the client
 The `<strip>` and `<strippart>` rules are applied before comparisons are made.
 
+### `<stderr [mode="text"] [nonewline="yes"]>`
+This verifies that this data was passed to stderr.
+
+Use the mode="text" attribute if the output is in text mode on platforms that
+have a text/binary difference.
+
+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
+
 ### `<stdout [mode="text"] [nonewline="yes"]>`
 This verifies that this data was passed to stdout.