From 25bc4697275ba5ef395160c716ca3e7f63d3eaba Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Wed, 7 Jun 2023 15:19:44 +0200 Subject: [PATCH] test: rebuild the ldconfig cache after changing its configuration Follow-up to ba79e8c2cc. --- test/test-functions | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-functions b/test/test-functions index d3de275758..b37bb21ba3 100644 --- a/test/test-functions +++ b/test/test-functions @@ -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