diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-10-06 12:57:12 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-10-06 12:57:42 +0200 |
commit | 6800ff471be03e2aac737bb3b8d24d8b4a9cc827 (patch) | |
tree | 9f5dede471c0ad5bd54b136aa4b19818371ca425 | |
parent | c64afa90f7d25883217c52cfb3bd09a575c9ecb7 (diff) | |
download | curl-6800ff471be03e2aac737bb3b8d24d8b4a9cc827.tar.gz |
tests/FILEFORMAT: mention how to use <fileN> and <stripfileN> too
[ci skip]
-rw-r--r-- | tests/FILEFORMAT | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index ffc77a236..68a7854f4 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -445,11 +445,30 @@ Use the mode="text" attribute if the output is in text mode on platforms that have a text/binary difference. Variables are substituted as in the <command> section. </file> +<file1> +1 to 4 can be appended to 'file' to compare more files. +</file1> +<file2> +</file2> +<file3> +</file3> +<file4> +</file4> <stripfile> One perl op per line that operates on the output file or stdout before being compared with what is stored in the test file. This is pretty advanced. Example: "s/^EPRT .*/EPRT stripped/" </stripfile> +<stripfile1> +1 to 4 can be appended to 'stripfile' to strip the correspending <fileN> +content +</stripfile1> +<stripfile2> +</stripfile2> +<stripfile3> +</stripfile3> +<stripfile4> +</stripfile4> <upload> the contents of the upload data curl should have sent </upload> |