aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/test_datastore_api.c')
-rw-r--r--src/datastore/test_datastore_api.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c
index daf6cccb3..ee78a8cfc 100644
--- a/src/datastore/test_datastore_api.c
+++ b/src/datastore/test_datastore_api.c
@@ -251,11 +251,11 @@ check_value (void *cls,
251 return; 251 return;
252 } 252 }
253#if 0 253#if 0
254 FPRINTF (stderr, 254 fprintf (stderr,
255 "Check value got `%s' of size %u, type %d, expire %s\n", 255 "Check value got `%s' of size %u, type %d, expire %s\n",
256 GNUNET_h2s (key), (unsigned int) size, type, 256 GNUNET_h2s (key), (unsigned int) size, type,
257 GNUNET_STRINGS_absolute_time_to_string (expiration)); 257 GNUNET_STRINGS_absolute_time_to_string (expiration));
258 FPRINTF (stderr, 258 fprintf (stderr,
259 "Check value iteration %d wants size %u, type %d, expire %s\n", i, 259 "Check value iteration %d wants size %u, type %d, expire %s\n", i,
260 (unsigned int) get_size (i), get_type (i), 260 (unsigned int) get_size (i), get_type (i),
261 GNUNET_STRINGS_absolute_time_to_string (get_expiration(i))); 261 GNUNET_STRINGS_absolute_time_to_string (get_expiration(i)));
@@ -555,14 +555,14 @@ run_tests (void *cls,
555 crc); 555 crc);
556 return; 556 return;
557 case GNUNET_NO: 557 case GNUNET_NO:
558 FPRINTF (stderr, 558 fprintf (stderr,
559 "%s", "Test 'put' operation failed, key already exists (!?)\n"); 559 "%s", "Test 'put' operation failed, key already exists (!?)\n");
560 GNUNET_DATASTORE_disconnect (datastore, 560 GNUNET_DATASTORE_disconnect (datastore,
561 GNUNET_YES); 561 GNUNET_YES);
562 GNUNET_free (crc); 562 GNUNET_free (crc);
563 return; 563 return;
564 case GNUNET_SYSERR: 564 case GNUNET_SYSERR:
565 FPRINTF (stderr, 565 fprintf (stderr,
566 "Test 'put' operation failed with error `%s' database likely not setup, skipping test.\n", 566 "Test 'put' operation failed with error `%s' database likely not setup, skipping test.\n",
567 msg); 567 msg);
568 GNUNET_DATASTORE_disconnect (datastore, 568 GNUNET_DATASTORE_disconnect (datastore,
@@ -609,7 +609,7 @@ run (void *cls,
609 0, 1, 609 0, 1,
610 &run_tests, crc)) 610 &run_tests, crc))
611 { 611 {
612 FPRINTF (stderr, 612 fprintf (stderr,
613 "%s", 613 "%s",
614 "Test 'put' operation failed.\n"); 614 "Test 'put' operation failed.\n");
615 ok = 1; 615 ok = 1;