test(old): don't check for $CLANG_SANITIZER (#25432)

Functional tests don't check for an environment variable before printing
ASAN logs, so oldtests shouldn't either.
This commit is contained in:
zeertzjq
2023-09-30 08:35:29 +08:00
committed by GitHub
parent dbfdb52ea8
commit 5f2d0b9329

View File

@ -85,7 +85,5 @@ valgrind_check() {
}
check_sanitizer() {
if test -n "${CLANG_SANITIZER}"; then
check_logs "${1}" "*san.*" | cat
fi
check_logs "${1}" "*san.*"
}