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
f392c773
Commit
f392c773
authored
Jun 18, 2014
by
Matt Stancliff
Committed by
antirez
Jun 18, 2014
Browse files
Add correct exit value to failed tests
(Note from @antirez: modified to apply to 2.8)
parent
d178cd03
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/sentinel.tcl
View file @
f392c773
...
@@ -393,4 +393,5 @@ proc restart_instance {type id} {
...
@@ -393,4 +393,5 @@ proc restart_instance {type id} {
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