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
99fc582f
Commit
99fc582f
authored
Mar 25, 2014
by
antirez
Browse files
Test: do not complain when "leaks" can't run because process died.
parent
3580bb48
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/support/server.tcl
View file @
99fc582f
...
...
@@ -40,6 +40,10 @@ proc kill_server config {
test
"Check for memory leaks (pid
$pid
)"
{
set output
{
0 leaks
}
catch
{
exec leaks $pid
}
output
if
{[
string match
{
*process does not exist*
}
$output
]}
{
# In a few tests we kill the server process.
set output
"0 leaks"
}
set output
}
{
*0 leaks*
}
}
...
...
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