summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/support/server.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/support/server.tcl b/tests/support/server.tcl
index de4f66db0..edcbbcc5d 100644
--- a/tests/support/server.tcl
+++ b/tests/support/server.tcl
@@ -40,7 +40,8 @@ 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]} {
+ if {[string match {*process does not exist*} $output] ||
+ [string match {*cannot examine*} $output]} {
# In a few tests we kill the server process.
set output "0 leaks"
}