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 fb66e2e249
commit 1be29606c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}