summaryrefslogtreecommitdiff
path: root/tests/FILEFORMAT.md
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FILEFORMAT.md')
-rw-r--r--tests/FILEFORMAT.md5
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.