check instance counters in cleanup_for_valgrind()

This commit is contained in:
Michael Davidsaver
2020-04-05 08:58:10 -07:00
parent d852758b7b
commit 7a2ab35439
7 changed files with 39 additions and 25 deletions
+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();