- // Check that blacklisted nodes are not allowed to be invited, and no invitations are left on disk.
-
- assert(!meshlink_invite(mesh[0], NULL, "xyzzy"));
-
- DIR *dir = opendir("blacklist_conf.0/current/invitations");
- assert(dir);
- struct dirent *ent;
-
- while((ent = readdir(dir))) {
- assert(!strcmp(ent->d_name, ".") || !strcmp(ent->d_name, ".."));
- }
-
- closedir(dir);
-