summaryrefslogtreecommitdiff
path: root/tests/instances.tcl
diff options
context:
space:
mode:
authorAndy Pan <panjf2000@gmail.com>2021-01-20 15:58:02 +0800
committerGitHub <noreply@github.com>2021-01-20 09:58:02 +0200
commit1be29606c56bc747a66c99d6cf31110df51b65b4 (patch)
tree24e04b166064286446e2c48fe072f5037e7c146e /tests/instances.tcl
parentfb66e2e24943018961321d13e46ee2ab66de882a (diff)
downloadredis-1be29606c56bc747a66c99d6cf31110df51b65b4.tar.gz
Fix sentinel FD leak test, not printing the list of leaks (#8363)
Diffstat (limited to 'tests/instances.tcl')
-rw-r--r--tests/instances.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/instances.tcl b/tests/instances.tcl
index 5b25bcc97..4e583eeb3 100644
--- a/tests/instances.tcl
+++ b/tests/instances.tcl
@@ -422,7 +422,7 @@ proc end_tests {} {
set sentinel_fd_leaks_file "sentinel_fd_leaks"
if { [file exists $sentinel_fd_leaks_file] } {
puts [colorstr red "WARNING: sentinel test(s) failed, there are leaked fds in sentinel:"]
- exec cat $sentinel_fd_leaks_file
+ puts [exec cat $sentinel_fd_leaks_file]
exit 1
}