]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tests: make valgrind_wrapper track file descriptors 23257/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Tue, 3 May 2022 20:51:56 +0000 (20:51 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Tue, 3 May 2022 20:51:56 +0000 (20:51 +0000)
test/test-functions

index 404e2b077f9da9abfe3379c2a3149a00da38d5cd..365f535bf01976b88bda282ef5492e346086c3e1 100644 (file)
@@ -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"
 }