memcheck/tests/filter_allocs
raw| 1 | #! /bin/sh |
| 2 | |
| 3 | ./filter_stderr "$@" | |
| 4 | sed -e "s/in use at exit: [0-9,]* bytes in [0-9,]* blocks/in use at exit: ... bytes in ... blocks/" \ |
| 5 | -e "s/total heap usage: [0-9,]* allocs, [0-9,]* frees, [0-9,]* bytes allocated/total heap usage: ... allocs, ... frees, ... bytes allocated/" \ |
| 6 | -e "s/suppressed: .*blocks/suppressed: 0 bytes in 0 blocks/" |
| 7 |