]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
filter_allocs now also works when any of the numbers to be filtered out is greater...
authorBart Van Assche <bvanassche@acm.org>
Sat, 26 Apr 2008 18:33:30 +0000 (18:33 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 26 Apr 2008 18:33:30 +0000 (18:33 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7925

memcheck/tests/filter_allocs

index 9ad6d23c4fe1cc394fa1e97c8a52a9dc58336c9d..9013deb354e59a159c43bb2c7face174f5a98a35 100755 (executable)
@@ -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./"