From: Evgeny Vereshchagin Date: Tue, 3 May 2022 20:51:56 +0000 (+0000) Subject: tests: make valgrind_wrapper track file descriptors X-Git-Tag: v251-rc2~20^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e78dca982e37c7714e78f775bf2d3128172df1e;p=thirdparty%2Fsystemd.git tests: make valgrind_wrapper track file descriptors --- diff --git a/test/test-functions b/test/test-functions index 404e2b077f9..365f535bf01 100644 --- a/test/test-functions +++ b/test/test-functions @@ -772,7 +772,7 @@ create_valgrind_wrapper() { #!/usr/bin/env bash mount -t proc proc /proc -exec valgrind --leak-check=full --log-file=/valgrind.out $ROOTLIBDIR/systemd "\$@" +exec valgrind --leak-check=full --track-fds=yes --log-file=/valgrind.out $ROOTLIBDIR/systemd "\$@" EOF chmod 0755 "$valgrind_wrapper" }