summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2014-06-18 08:10:04 -0400
committerMatt Stancliff <matt@genges.com>2014-06-18 08:10:04 -0400
commitf7d9827330b7ddabb6dc53a06c154c34b2c6ad6c (patch)
tree78a822f051b80091e5cc8b1c9692198736b3459c
parent3f8865bcdc26c52a80b97e32c6f3dc4e37c91d45 (diff)
downloadredis-f7d9827330b7ddabb6dc53a06c154c34b2c6ad6c.tar.gz
Add correct exit value to failed tests
-rw-r--r--tests/cluster/run.tcl1
-rw-r--r--tests/sentinel/run.tcl1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/cluster/run.tcl b/tests/cluster/run.tcl
index 7b7d014b8..7af442ecc 100644
--- a/tests/cluster/run.tcl
+++ b/tests/cluster/run.tcl
@@ -22,4 +22,5 @@ proc main {} {
if {[catch main e]} {
puts $::errorInfo
cleanup
+ exit 1
}
diff --git a/tests/sentinel/run.tcl b/tests/sentinel/run.tcl
index 3edde672e..66198af94 100644
--- a/tests/sentinel/run.tcl
+++ b/tests/sentinel/run.tcl
@@ -18,4 +18,5 @@ proc main {} {
if {[catch main e]} {
puts $::errorInfo
cleanup
+ exit 1
}