From: Bart Van Assche Date: Sat, 26 Apr 2008 18:33:30 +0000 (+0000) Subject: filter_allocs now also works when any of the numbers to be filtered out is greater... X-Git-Tag: svn/VALGRIND_3_4_0~698 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ec60b6ea064ce6fce12b67e63584f21fd3a02b0;p=thirdparty%2Fvalgrind.git filter_allocs now also works when any of the numbers to be filtered out is greater than or equal to 1000. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7925 --- diff --git a/memcheck/tests/filter_allocs b/memcheck/tests/filter_allocs index 9ad6d23c4f..9013deb354 100755 --- a/memcheck/tests/filter_allocs +++ b/memcheck/tests/filter_allocs @@ -1,6 +1,6 @@ #! /bin/sh ./filter_stderr | -sed "s/malloc\/free: in use at exit: [0-9]* bytes in [0-9]* blocks./malloc\/free: in use at exit: ... bytes in ... blocks./" | -sed "s/malloc.free: [0-9]* allocs, [0-9]* frees, [0-9]* bytes allocated./malloc\/free: ... allocs, ... frees, ... bytes allocated./" +sed -e "s/malloc\/free: in use at exit: [0-9,]* bytes in [0-9,]* blocks./malloc\/free: in use at exit: ... bytes in ... blocks./" \ + -e "s/malloc.free: [0-9,]* allocs, [0-9,]* frees, [0-9,]* bytes allocated./malloc\/free: ... allocs, ... frees, ... bytes allocated./"