gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 140/411: tests/FILEFORMAT: document nonewline support for <file>


From: gnunet
Subject: [gnurl] 140/411: tests/FILEFORMAT: document nonewline support for <file>
Date: Wed, 13 Jan 2021 01:19:15 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 8854b9284b5a14b3b5b2e64a72f3b5c3165a726a
Author: Daniel Stenberg <daniel@haxx.se>
AuthorDate: Tue Sep 15 14:45:08 2020 +0200

    tests/FILEFORMAT: document nonewline support for <file>
    
    The one in <client>, that creates files.
    
    Follow-up from b83947c8df7
---
 tests/FILEFORMAT.md | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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.
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]