From 8e78dca982e37c7714e78f775bf2d3128172df1e Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Tue, 3 May 2022 20:51:56 +0000 Subject: [PATCH] tests: make valgrind_wrapper track file descriptors --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } -- 2.47.3