diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-06-03 23:54:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-06-06 23:51:49 +0200 |
commit | d3b5c153af6998e2fd64bfc2b3033b2b5526a8cf (patch) | |
tree | 68707b312b89e056835f0ceb7ce368aa35784c8e /tests/FILEFORMAT | |
parent | bf05606ef1f7a982c821396c3ef9fddeb4a1b011 (diff) | |
download | curl-d3b5c153af6998e2fd64bfc2b3033b2b5526a8cf.tar.gz |
runtests: make stripfile work on stdout as well
... and have test 1700 use that to strip out the nghttpx server: headers
Diffstat (limited to 'tests/FILEFORMAT')
-rw-r--r-- | tests/FILEFORMAT | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index a8e74b31e..d8beb99f7 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -426,8 +426,9 @@ have a text/binary difference. Variables are substituted as in the <command> section. </file> <stripfile> -One perl op per line that operates on the file before being compared. This is -pretty advanced. Example: "s/^EPRT .*/EPRT stripped/" +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> <upload> the contents of the upload data curl should have sent |