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
5a9fcb87
Commit
5a9fcb87
authored
Jun 03, 2010
by
Pieter Noordhuis
Browse files
tag memory leak check on kill server as "leaks"
parent
afbf5914
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/support/server.tcl
View file @
5a9fcb87
...
@@ -33,9 +33,11 @@ proc kill_server config {
...
@@ -33,9 +33,11 @@ proc kill_server config {
if
{
!
[
dict exists $config
"skipleaks"
]}
{
if
{
!
[
dict exists $config
"skipleaks"
]}
{
catch
{
catch
{
if
{[
string match
{
*Darwin*
}
[
exec uname -a
]]}
{
if
{[
string match
{
*Darwin*
}
[
exec uname -a
]]}
{
test
"Check for memory leaks (pid
$pid
)"
{
tags
{
"leaks"
}
{
exec leaks $pid
test
"Check for memory leaks (pid
$pid
)"
{
}
{
*0 leaks*
}
exec leaks $pid
}
{
*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