aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/zt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zt.c b/tests/zt.c
index f0aae6e2..bb16b714 100644
--- a/tests/zt.c
+++ b/tests/zt.c
@@ -262,6 +262,7 @@ TestMain("ZeroTier Transport", {
snprintf(addr2, sizeof(addr2), "zt://%llx." NWID ":%u",
(unsigned long long) node, port);
So(nng_dialer_create(&d, s2, addr2) == 0);
+ mkdir(path2, 0700);
So(nng_dialer_setopt(
d, NNG_OPT_ZT_HOME, path2, strlen(path2) + 1) == 0);
So(nng_dialer_start(d, 0) == 0);