From d3b5c153af6998e2fd64bfc2b3033b2b5526a8cf Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 3 Jun 2016 23:54:06 +0200 Subject: runtests: make stripfile work on stdout as well ... and have test 1700 use that to strip out the nghttpx server: headers --- tests/FILEFORMAT | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/FILEFORMAT') 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 section. -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/" the contents of the upload data curl should have sent -- cgit v1.2.3