summaryrefslogtreecommitdiff
path: root/tests/FILEFORMAT
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-04-23 22:58:45 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-04-23 22:58:45 +0000
commit28dde78dde21f20ab5ee491455828c3cf338ad5c (patch)
tree2c57b0306afaeee9379a1d3c48f344e41a0adc28 /tests/FILEFORMAT
parent37171809f67ae29adb9a5e7f64861d483049d86f (diff)
downloadcurl-28dde78dde21f20ab5ee491455828c3cf338ad5c.tar.gz
Added <postcheck> support to the test harness.
Diffstat (limited to 'tests/FILEFORMAT')
-rw-r--r--tests/FILEFORMAT10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index 3c21be195..d0cb8b44e 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -105,8 +105,8 @@ NOSAVE
- Don't actually save what is received
SLOWDOWN
- Send FTP responses with 0.1 sec delay between each byte
-PASVBADIP - makes PASV send back an illegal IP in its 227 response
- - Send back a bad IP in the PASV response
+PASVBADIP
+ - makes PASV send back an illegal IP in its 227 response
For HTTP/HTTPS:
auth_required - if this is set and a POST/PUT is made without auth, the
@@ -173,6 +173,12 @@ output is displayed by the command, the test will be skipped and the
Variables are substituted as in the <command> section.
</precheck>
+<postcheck>
+A command line that if set gets run by the test script after the test. If
+the command exists with a non-zero status code, the test will be considered
+to have failed. Variables are substituted as in the <command> section.
+</postcheck>
+
<tool>
Name of tool to use instead of "curl". This tool must be built and exist
in the libtest/ directory.