summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2014-06-18 08:10:04 -0400
committerantirez <antirez@gmail.com>2014-06-21 15:18:32 +0200
commit4dfc18596e60033acccef7a7e4d5be94c8b5c8f0 (patch)
tree385fbd9c4cc22ce5a1ea2405b8ac2b80a7ae3398
parent2b1047ffd33a10b3c2a33091201adf85a9c5f316 (diff)
downloadredis-4dfc18596e60033acccef7a7e4d5be94c8b5c8f0.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
}