#endif
NULL);
ret = check ();
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-core-peer-1");
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-core-peer-2");
return ret;
}
#endif
NULL);
ret = check ();
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-datastore");
return ret;
}
int ret = 0;
ret = check ();
-
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-peerinfo");
return ret;
}
static struct GNUNET_GETOPT_CommandLineOption options[] = {
GNUNET_GETOPT_OPTION_END
};
+ int ret;
char *const argv_prog[] = {
"test_plugin_transport",
"-c",
#endif
NULL);
ok = 1; /* set to fail */
- return (GNUNET_OK ==
+ ret = (GNUNET_OK ==
GNUNET_PROGRAM_run (5,
argv_prog,
"test-plugin-transport",
"testcase",
options,
&run, NULL)) ? ok : 1;
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-plugin-transport");
+ return ret;
}
/* end of test_plugin_transport.c */
[PATHS]
-SERVICEHOME = /tmp/test-plugin-transport/
+SERVICEHOME = /tmp/test-gnunetd-plugin-transport/
[resolver]
PORT = 2364
#endif
NULL);
ret = check ();
-
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-transport-peer-1");
+ GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-transport-peer-2");
return ret;
}
GNUNET_PSEUDONYM_discovery_callback_unregister (¬i_callback, ¬iCount);
GNUNET_CONTAINER_meta_data_destroy (meta);
GNUNET_CONFIGURATION_destroy (cfg);
+ GNUNET_DISK_directory_remove ("/tmp/gnunet-pseudonym-test");
return (ok == GNUNET_YES) ? 0 : 1;
}