Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
36bbfeef
Commit
36bbfeef
authored
Jun 18, 2014
by
Salvatore Sanfilippo
Browse files
Merge pull request #1824 from mattsta/fix-test-error-signal
Add correct exit value to failed tests
parents
3f8865bc
f7d98273
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/cluster/run.tcl
View file @
36bbfeef
...
@@ -22,4 +22,5 @@ proc main {} {
...
@@ -22,4 +22,5 @@ proc main {} {
if
{[
catch main e
]}
{
if
{[
catch main e
]}
{
puts $::errorInfo
puts $::errorInfo
cleanup
cleanup
exit 1
}
}
tests/sentinel/run.tcl
View file @
36bbfeef
...
@@ -18,4 +18,5 @@ proc main {} {
...
@@ -18,4 +18,5 @@ proc main {} {
if
{[
catch main e
]}
{
if
{[
catch main e
]}
{
puts $::errorInfo
puts $::errorInfo
cleanup
cleanup
exit 1
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment