tests: Fix FILEFORMAT <file name=""> directive

Follow-up to dcc52095

Closes #15371
This commit is contained in:
Yedaya Katsman 2024-10-22 22:52:21 +03:00 committed by Dan Fandrich
parent b6219cd932
commit acd134cfe1

View File

@ -584,7 +584,7 @@ parameter is the not negative integer number of seconds for the delay. This
'delay' attribute is intended for specific test cases, and normally not 'delay' attribute is intended for specific test cases, and normally not
needed. needed.
### `<filename="%LOGDIR/filename" [nonewline="yes"]>` ### `<file name="%LOGDIR/filename" [nonewline="yes"]>`
This creates the named file with this content before the test case is run, 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. which is useful if the test case needs a file to act on.
@ -672,7 +672,7 @@ test.
`loadfile="filename"` makes loading the data from an external file. `loadfile="filename"` makes loading the data from an external file.
### `<filename="%LOGDIR/filename" [mode="text"]>` ### `<file name="%LOGDIR/filename" [mode="text"]>`
The file's contents must be identical to this after the test is complete. Use The file's contents must be identical to this after the test is complete. Use
the mode="text" attribute if the output is in text mode on platforms that have the mode="text" attribute if the output is in text mode on platforms that have
a text/binary difference. a text/binary difference.