diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-10-15 17:41:02 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-10-15 17:41:02 +0000 |
commit | 357383159e9840c65a850e738dd95cf5fc02d67b (patch) | |
tree | 2a69b3bbba6ce3bf35ff913c76ec7292d0a271dc /tests/FILEFORMAT | |
parent | 0ea1c281351ecc1290df16b87d9afb337e297c61 (diff) |
A <precheck> command is considered to have failed if it returns a non-zero
return code. This way, if the precheck command can't be run at all for
whatever reason, it's treated as a precheck failure which causes the
test to be skipped.
Diffstat (limited to 'tests/FILEFORMAT')
-rw-r--r-- | tests/FILEFORMAT | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index e4be47ab4..8a6f6be83 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -176,9 +176,9 @@ restart servers. <precheck> A command line that if set gets run by the test script before the test. If an -output is displayed by the command, the test will be skipped and the -(single-line) output will be displayed as reason for not running the test. -Variables are substituted as in the <command> section. +output is displayed by the command or if the return code is non-zero, the test +will be skipped and the (single-line) output will be displayed as reason for +not running the test. Variables are substituted as in the <command> section. </precheck> <postcheck> |