|
|
@@ -94,7 +94,7 @@ load_plugin (const struct GNUNET_CONFIGURATION_Handle *cfg) |
|
|
|
GNUNET_asprintf (&libname, "libgnunet_plugin_psycstore_%s", plugin_name); |
|
|
|
if (NULL == (ret = GNUNET_PLUGIN_load (libname, (void*) cfg))) |
|
|
|
{ |
|
|
|
FPRINTF (stderr, "Failed to load plugin `%s'!\n", plugin_name); |
|
|
|
fprintf (stderr, "Failed to load plugin `%s'!\n", plugin_name); |
|
|
|
return NULL; |
|
|
|
} |
|
|
|
GNUNET_free (libname); |
|
|
@@ -189,7 +189,7 @@ run (void *cls, char *const *args, const char *cfgfile, |
|
|
|
db = load_plugin (cfg); |
|
|
|
if (NULL == db) |
|
|
|
{ |
|
|
|
FPRINTF (stderr, |
|
|
|
fprintf (stderr, |
|
|
|
"%s", |
|
|
|
"Failed to initialize PSYCstore. " |
|
|
|
"Database likely not setup, skipping test.\n"); |
|
|
@@ -520,7 +520,7 @@ main (int argc, char *argv[]) |
|
|
|
|
|
|
|
if ( (0 != ok) && |
|
|
|
(77 != ok) ) |
|
|
|
FPRINTF (stderr, "Missed some testcases: %d\n", ok); |
|
|
|
fprintf (stderr, "Missed some testcases: %d\n", ok); |
|
|
|
|
|
|
|
#if ! DEBUG_PSYCSTORE |
|
|
|
GNUNET_DISK_directory_remove ("/tmp/gnunet-test-plugin-psycstore-sqlite"); |
|
|
|