]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests/FILEFORMAT: document nonewline support for <file>
authorDaniel Stenberg <daniel@haxx.se>
Tue, 15 Sep 2020 12:45:08 +0000 (14:45 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Sep 2020 12:45:08 +0000 (14:45 +0200)
The one in <client>, that creates files.

Follow-up from b83947c8df7

tests/FILEFORMAT.md

index c280c852de29f11eb95d441b5d4ef3e3465d2818..dcbd1a85a1e69ab782180380bd79d7d08b6a0fb4 100644 (file)
@@ -425,10 +425,13 @@ parameter is the not negative integer number of seconds for the delay. This
 'delay' attribute is intended for very specific test cases, and normally not
 needed.
 
-### `<file name="log/filename">`
+### `<file name="log/filename" [nonewline="yes"]>`
 This creates the named file with this content before the test case is run,
 which is useful if the test case needs a file to act on.
 
+If 'nonewline="yes"` is used, the created file will have the final newline
+stripped off.
+
 ### `<stdin [nonewline="yes"]>`
 Pass this given data on stdin to the tool.