Fix valgrind summary leak detection.

Currently, only 1-9 leaks are detected. More than 10 leaks are evaluated
as no leak.
This commit is contained in:
daniel.zatovic
2022-08-05 16:38:38 +02:00
parent 190e4fc033
commit f8c79f9a95

View File

@@ -172,6 +172,6 @@ valgrind-check: api-test api-test-2 differ
@VALG=1 ./luks2-reencryption-mangle-test
@VALG=1 ./bitlk-compat-test
@VALG=1 ./tcrypt-compat-test
@grep -l "ERROR SUMMARY: [^0] errors" valglog* || echo "No leaks detected."
@grep -l "ERROR SUMMARY: [^0][0-9]* errors" valglog* || echo "No leaks detected."
.PHONY: valgrind-check