From c316ca733fa3332e768ac0e27e7831a47cdbc241 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 9 Feb 2021 14:04:52 +0100 Subject: [PATCH] FILEFORMAT.md: document the nonewline attribute for the data part --- tests/FILEFORMAT.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/FILEFORMAT.md b/tests/FILEFORMAT.md index 7ba1de2a60b309..c50d0fe595750c 100644 --- a/tests/FILEFORMAT.md +++ b/tests/FILEFORMAT.md @@ -188,7 +188,7 @@ When using curl built with Hyper, the keywords must include HTTP or HTTPS for 'hyper mode' to kick in and make line ending checks work for tests. ## `` -### `` +### `` data to be sent to the client on its request and later verified that it arrived safely. Set `nocheck="yes"` to prevent the test script from verifying @@ -214,6 +214,9 @@ much sense for other sections than "data"). `hex=yes` means that the data is a sequence of hex pairs. It will get decoded and used as "raw" data. +`nonewline=yes` means that the last byte (the trailing newline character) +should be cut off from the data before sending or comparing it. + For FTP file listings, the `` section will be used *only* if you make sure that there has been a CWD done first to a directory named `test-[num]` where [num] is the test case number. Otherwise the ftp server can't know from