check instance counters in cleanup_for_valgrind()

This commit is contained in:
Michael Davidsaver committed 2020-04-07 12:05:29 -07:00
1 parent d852758b7b
commit 7a2ab35439
7 files changed
+39 -25

No files matched your search

+4 -1
View File
@@ -26,6 +26,9 @@ void test_call()
evbase base("TEST");
auto snap = instanceSnapshot();
testEq(snap["evbase"], 1u);
testOk1(!base.inLoop());
{
@@ -113,7 +116,7 @@ void test_fill_evbuf()
MAIN(testev)
{
SockAttach attach;
testPlan(14);
testPlan(15);
test_call();
test_fill_evbuf();
cleanup_for_valgrind();