Test suite: Catch Valgrind output even when less than 10 bytes lost
This commit is contained in:
parent
35db922853
commit
194b83e89f
@ -1743,10 +1743,10 @@ sub valgrind_results() {
|
||||
my $rv = 1;
|
||||
|
||||
$rv = 0 if &file_find_regex(
|
||||
[qr/definitely\slost\:\s[1-9]\d+\sbytes/],
|
||||
[qr/definitely\slost\:\s[1-9]\d*\sbytes/],
|
||||
$MATCH_ALL, $APPEND_RESULTS, $file);
|
||||
$rv = 0 if &file_find_regex(
|
||||
[qr/indirectly\slost\:\s[1-9]\d+\sbytes/],
|
||||
[qr/indirectly\slost\:\s[1-9]\d*\sbytes/],
|
||||
$MATCH_ALL, $APPEND_RESULTS, $file);
|
||||
|
||||
return $rv;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user