mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
TEST-36-NUMAPOLICY: Skip when running with sanitizers
The test does not work under sanitizers as strace is used. Until the test is fixed to not use strace let's skip it when running with sanitizers.
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
if [[ -n "${ASAN_OPTIONS:-}" ]]; then
|
||||
echo "This test does not support running with sanitizers, skipping the test" | tee --append /skipped
|
||||
exit 77
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2317
|
||||
at_exit() {
|
||||
# shellcheck disable=SC2181
|
||||
|
||||
Reference in New Issue
Block a user