1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-27 01:57:35 +03:00

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