From: Frantisek Sumsal Date: Wed, 7 Jun 2023 13:19:44 +0000 (+0200) Subject: test: rebuild the ldconfig cache after changing its configuration X-Git-Tag: v254-rc1~258^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25bc4697275ba5ef395160c716ca3e7f63d3eaba;p=thirdparty%2Fsystemd.git test: rebuild the ldconfig cache after changing its configuration Follow-up to ba79e8c2cc. --- diff --git a/test/test-functions b/test/test-functions index d3de275758f..b37bb21ba36 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