diff options
author | antirez <antirez@gmail.com> | 2011-07-11 12:44:55 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-07-11 12:44:55 +0200 |
commit | 04e2410d2dcfc14c938ac56877929e96baa99d28 (patch) | |
tree | 349705c743927bcc7937ed61072b8c7e4df2ff71 /tests/unit/other.tcl | |
parent | 30cf7be60c48c0f4931cd58bbd13201c17638b48 (diff) | |
download | redis-04e2410d2dcfc14c938ac56877929e96baa99d28.tar.gz |
initial support for failed tests summary at end of the test.
Diffstat (limited to 'tests/unit/other.tcl')
-rw-r--r-- | tests/unit/other.tcl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unit/other.tcl b/tests/unit/other.tcl index 20cefc6a0..dff577159 100644 --- a/tests/unit/other.tcl +++ b/tests/unit/other.tcl @@ -242,4 +242,11 @@ start_server {tags {"other"}} { test {Perform a final SAVE to leave a clean DB on disk} { r save } {OK} + + if {$::force_failure} { + # This is used just for test suite development purposes. + test {Failing test} { + format err + } {ok} + } } |