check
authorChristian Grothoff <christian@grothoff.org>
Thu, 20 Oct 2011 17:23:48 +0000 (17:23 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 20 Oct 2011 17:23:48 +0000 (17:23 +0000)
src/testing/test_testing_connect.c

index a53dc9b9083636c60a5ec5052c787c4047b213d8..f32e2e40f35ebb0fdaf435c24db0610c9b7eec18 100644 (file)
@@ -147,9 +147,11 @@ run (void *cls, char *const *args, const char *cfgfile,
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemon.\n");
 #endif
   c1 = GNUNET_CONFIGURATION_create ();
-  GNUNET_CONFIGURATION_load (c1, "test_testing_connect_peer1.conf");
+  GNUNET_assert (GNUNET_OK ==
+                GNUNET_CONFIGURATION_load (c1, "test_testing_connect_peer1.conf"));
   c2 = GNUNET_CONFIGURATION_create ();
-  GNUNET_CONFIGURATION_load (c2, "test_testing_connect_peer2.conf");
+  GNUNET_assert (GNUNET_OK ==
+                GNUNET_CONFIGURATION_load (c2, "test_testing_connect_peer2.conf"));
   d1 = GNUNET_TESTING_daemon_start (c1, TIMEOUT, GNUNET_NO, NULL, NULL, 0, NULL,
                                     NULL, NULL, &my_cb1, NULL);
   GNUNET_assert (d1 != NULL);