tests: make valgrind_wrapper track file descriptors

This commit is contained in:
Evgeny Vereshchagin 2022-05-03 20:51:56 +00:00
parent c66e2f6c2c
commit 8e78dca982

View 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"
}