aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_plugin_datastore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/test_plugin_datastore.c')
-rw-r--r--src/datastore/test_plugin_datastore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/datastore/test_plugin_datastore.c b/src/datastore/test_plugin_datastore.c
index c37b8ddb9..2b7bf9ae4 100644
--- a/src/datastore/test_plugin_datastore.c
+++ b/src/datastore/test_plugin_datastore.c
@@ -108,7 +108,7 @@ put_continuation (void *cls,
108 108
109 if (GNUNET_OK != status) 109 if (GNUNET_OK != status)
110 { 110 {
111 FPRINTF (stderr, 111 fprintf (stderr,
112 "ERROR: `%s'\n", 112 "ERROR: `%s'\n",
113 msg); 113 msg);
114 } 114 }
@@ -399,7 +399,7 @@ load_plugin (const struct GNUNET_CONFIGURATION_Handle *cfg)
399 GNUNET_asprintf (&libname, "libgnunet_plugin_datastore_%s", name); 399 GNUNET_asprintf (&libname, "libgnunet_plugin_datastore_%s", name);
400 if (NULL == (ret = GNUNET_PLUGIN_load (libname, &env))) 400 if (NULL == (ret = GNUNET_PLUGIN_load (libname, &env)))
401 { 401 {
402 FPRINTF (stderr, "Failed to load plugin `%s'!\n", name); 402 fprintf (stderr, "Failed to load plugin `%s'!\n", name);
403 GNUNET_free (libname); 403 GNUNET_free (libname);
404 GNUNET_free (name); 404 GNUNET_free (name);
405 ok = 77; /* mark test as skipped */ 405 ok = 77; /* mark test as skipped */
@@ -421,7 +421,7 @@ run (void *cls, char *const *args, const char *cfgfile,
421 api = load_plugin (c); 421 api = load_plugin (c);
422 if (api == NULL) 422 if (api == NULL)
423 { 423 {
424 FPRINTF (stderr, 424 fprintf (stderr,
425 "%s", "Could not initialize plugin, assuming database not configured. Test not run!\n"); 425 "%s", "Could not initialize plugin, assuming database not configured. Test not run!\n");
426 return; 426 return;
427 } 427 }
@@ -461,7 +461,7 @@ main (int argc, char *argv[])
461 GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, 461 GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv,
462 "test-plugin-datastore", "nohelp", options, &run, NULL); 462 "test-plugin-datastore", "nohelp", options, &run, NULL);
463 if ( (0 != ok) && (77 != ok) ) 463 if ( (0 != ok) && (77 != ok) )
464 FPRINTF (stderr, "Missed some testcases: %u\n", ok); 464 fprintf (stderr, "Missed some testcases: %u\n", ok);
465 GNUNET_DISK_directory_remove (dir_name); 465 GNUNET_DISK_directory_remove (dir_name);
466 return ok; 466 return ok;
467} 467}