test: rebuild the ldconfig cache after changing its configuration

Follow-up to ba79e8c2cc.
This commit is contained in:
Frantisek Sumsal 2023-06-07 15:19:44 +02:00
parent 6f814d4f5d
commit 25bc469727

View file

@ -931,6 +931,7 @@ create_asan_wrapper() {
# runtime ASan DSO is in a non-standard (library) path.
mkdir -p "${initdir:?}/etc/ld.so.conf.d/"
echo "${ASAN_RT_PATH%/*}" >"${initdir:?}/etc/ld.so.conf.d/asan-path-override.conf"
ldconfig -r "$initdir"
fi
# Create a simple environment file which can be included by systemd services