diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-15 14:45:08 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-15 14:45:08 +0200 |
commit | 8854b9284b5a14b3b5b2e64a72f3b5c3165a726a (patch) | |
tree | 250b1b0ef58dec6dac3545a9620cbdb8cb70c26d | |
parent | 0c1e767e83ec669d213868db8887e19386f717b2 (diff) | |
download | curl-8854b9284b5a14b3b5b2e64a72f3b5c3165a726a.tar.gz |
tests/FILEFORMAT: document nonewline support for <file>
The one in <client>, that creates files.
Follow-up from b83947c8df7
-rw-r--r-- | tests/FILEFORMAT.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/FILEFORMAT.md b/tests/FILEFORMAT.md index c280c852d..dcbd1a85a 100644 --- a/tests/FILEFORMAT.md +++ b/tests/FILEFORMAT.md @@ -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. |