]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: rebuild the ldconfig cache after changing its configuration
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 7 Jun 2023 13:19:44 +0000 (15:19 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 7 Jun 2023 13:19:44 +0000 (15:19 +0200)
Follow-up to ba79e8c2cc.

test/test-functions

index d3de275758f0339c8af4840d2c0e281d7bc11893..b37bb21ba36d41022496bd765ca6b5a9bf7c27b6 100644 (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