let try to exclude __CFInitialize

This commit is contained in:
Love Hornquist Astrand
2011-05-20 08:42:29 -07:00
parent 79ff133ae9
commit 05a432aaed

View File

@@ -7,7 +7,7 @@ ec=0
if [ "$(uname -s)" = "Darwin" ] ; then
echo "leaks check on $name ($pid)"
leaks $pid > leaks-log 2>&1 || \
leaks -exclude __CFInitialize $pid > leaks-log 2>&1 || \
{ echo "leaks failed: $?"; cat leaks-log; exit 1; }
grep "Process $pid: 0 leaks for 0 total leaked bytes" leaks-log > /dev/null || \