zeek/testing/scripts/have-tsan
Arne Welzel 3e6511af41 btest: Skip core.script-args under TSAN
TSAN may re-execute the executable when the memory layout doesn't
fullfill requirements, causing argument confusion when that happens.

Closes #3774.
2024-08-08 15:32:20 +02:00

7 lines
112 B
Bash
Executable file

#!/bin/sh
if grep -q "ZEEK_SANITIZERS:STRING=.*thread.*" "${BUILD}"/CMakeCache.txt; then
exit 0
fi
exit 1