Fix sentinel FD leak test, not printing the list of leaks (#8363)

This commit is contained in:
Andy Pan 2021-01-20 15:58:02 +08:00 committed by GitHub
parent 3e671c62d5
commit 4cbfe0f1ab

View File

@ -422,7 +422,7 @@ proc end_tests {} {
set sentinel_fd_leaks_file "sentinel_fd_leaks" set sentinel_fd_leaks_file "sentinel_fd_leaks"
if { [file exists $sentinel_fd_leaks_file] } { if { [file exists $sentinel_fd_leaks_file] } {
puts [colorstr red "WARNING: sentinel test(s) failed, there are leaked fds in sentinel:"] 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 exit 1
} }