|
From: <sv...@va...> - 2008-04-26 18:33:41
|
Author: bart Date: 2008-04-26 19:33:30 +0100 (Sat, 26 Apr 2008) New Revision: 7925 Log: filter_allocs now also works when any of the numbers to be filtered out is greater than or equal to 1000. Modified: trunk/memcheck/tests/filter_allocs Modified: trunk/memcheck/tests/filter_allocs =================================================================== --- trunk/memcheck/tests/filter_allocs 2008-04-26 18:14:34 UTC (rev 7924) +++ trunk/memcheck/tests/filter_allocs 2008-04-26 18:33:30 UTC (rev 7925) @@ -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./" |