Haste makes Waste. Filter was broken (and thererfore the expected
not correct either).
# on the FreeBSD version, so we want to filter the size of
# KENV_DUMP allocation
-gsed 's/4,765 bytes allocated/XXX bytes allocated'
+gsed 's/ [^ ]* bytes allocated/ XXX bytes allocated/'
HEAP SUMMARY:
in use at exit: 0 bytes in 0 blocks
- total heap usage: 5 allocs, 5 frees, 4,765 bytes allocated
+ total heap usage: 5 allocs, 5 frees, XXX bytes allocated
For a detailed leak analysis, rerun with: --leak-check=full