aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_reconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_testing_reconnect.c')
-rw-r--r--src/testing/test_testing_reconnect.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/testing/test_testing_reconnect.c b/src/testing/test_testing_reconnect.c
index f317040fb..20c628c6a 100644
--- a/src/testing/test_testing_reconnect.c
+++ b/src/testing/test_testing_reconnect.c
@@ -101,8 +101,8 @@ end1_cb (void *cls, const char *emsg)
101 if (d2 != NULL) 101 if (d2 != NULL)
102 { 102 {
103 GNUNET_TESTING_daemon_stop (d2, TIMEOUT, &end2_cb, NULL, 103 GNUNET_TESTING_daemon_stop (d2, TIMEOUT, &end2_cb, NULL,
104 (phase == NUM_PHASES) ? GNUNET_YES : GNUNET_NO, 104 (phase == NUM_PHASES) ? GNUNET_YES : GNUNET_NO,
105 GNUNET_NO); 105 GNUNET_NO);
106 d2 = NULL; 106 d2 = NULL;
107 } 107 }
108} 108}
@@ -192,9 +192,13 @@ run (void *cls, char *const *args, const char *cfgfile,
192 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemon.\n"); 192 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemon.\n");
193#endif 193#endif
194 c1 = GNUNET_CONFIGURATION_create (); 194 c1 = GNUNET_CONFIGURATION_create ();
195 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (c1, "test_testing_connect_peer1.conf")); 195 GNUNET_assert (GNUNET_OK ==
196 GNUNET_CONFIGURATION_load (c1,
197 "test_testing_connect_peer1.conf"));
196 c2 = GNUNET_CONFIGURATION_create (); 198 c2 = GNUNET_CONFIGURATION_create ();
197 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (c2, "test_testing_connect_peer2.conf")); 199 GNUNET_assert (GNUNET_OK ==
200 GNUNET_CONFIGURATION_load (c2,
201 "test_testing_connect_peer2.conf"));
198 run_phase (); 202 run_phase ();
199} 203}
200 204