[PATCH bzip2-tests] Add --track-fds=yes to VALGRIND_ARGS

Mark Wielaard mark@klomp.org
Thu Jun 4 00:03:06 GMT 2026


This will show bzip2recover not closing files and bzip2 not closing
bad input files.
---
 run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run-tests.sh b/run-tests.sh
index 245b9b95b221..906725dec870 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -8,7 +8,7 @@
 # version 3, or (at your option) any later version.
 
 VALGRIND="valgrind"
-VALGRIND_ARGS="-q --error-exitcode=9 --leak-check=full"
+VALGRIND_ARGS="-q --error-exitcode=9 --leak-check=full --track-fds=yes"
 BZIP2="bzip2"
 BZIP2RECOVER="bzip2recover"
 TESTS_DIR="."
-- 
2.54.0



More information about the Bzip2-devel mailing list