aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-07-13 18:31:40 -0700
committerGarrett D'Amore <garrett@damore.org>2017-07-13 18:31:40 -0700
commit841048a806f7836bd1196f48c5ee3db5ca844b88 (patch)
tree1582ba9008299801f130796df397c4d18b6a9673 /tests
parent14caa074a83fa2e659b3e490bf9bd31ff0b6b4b1 (diff)
downloadnng-841048a806f7836bd1196f48c5ee3db5ca844b88.tar.gz
nng-841048a806f7836bd1196f48c5ee3db5ca844b88.tar.bz2
nng-841048a806f7836bd1196f48c5ee3db5ca844b88.zip
idhash has it's own lock now.
Diffstat (limited to 'tests')
-rw-r--r--tests/idhash.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/idhash.c b/tests/idhash.c
index a30b0d0a..45c0439a 100644
--- a/tests/idhash.c
+++ b/tests/idhash.c
@@ -11,7 +11,10 @@
#include "core/idhash.c"
#include "convey.h"
+#include "core/nng_impl.h"
+
Main({
+ nni_init();
Test("General ID Hash",
{
int rv;
@@ -153,4 +156,6 @@ Main({
});
});
});
+
+ nni_fini();
});