aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-20 17:23:48 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-20 17:23:48 +0000
commit0bb316c298fad2cc5268d551e787ed75b6dd0729 (patch)
tree6106345d160bf75ed8bbac6c1e7aa0af519275a4 /src/testing
parent403e47c8f0a1cccc7478a17d6b8dd95f4214c093 (diff)
downloadgnunet-0bb316c298fad2cc5268d551e787ed75b6dd0729.tar.gz
gnunet-0bb316c298fad2cc5268d551e787ed75b6dd0729.zip
check
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_testing_connect.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testing/test_testing_connect.c b/src/testing/test_testing_connect.c
index a53dc9b90..f32e2e40f 100644
--- a/src/testing/test_testing_connect.c
+++ b/src/testing/test_testing_connect.c
@@ -147,9 +147,11 @@ run (void *cls, char *const *args, const char *cfgfile,
147 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemon.\n"); 147 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemon.\n");
148#endif 148#endif
149 c1 = GNUNET_CONFIGURATION_create (); 149 c1 = GNUNET_CONFIGURATION_create ();
150 GNUNET_CONFIGURATION_load (c1, "test_testing_connect_peer1.conf"); 150 GNUNET_assert (GNUNET_OK ==
151 GNUNET_CONFIGURATION_load (c1, "test_testing_connect_peer1.conf"));
151 c2 = GNUNET_CONFIGURATION_create (); 152 c2 = GNUNET_CONFIGURATION_create ();
152 GNUNET_CONFIGURATION_load (c2, "test_testing_connect_peer2.conf"); 153 GNUNET_assert (GNUNET_OK ==
154 GNUNET_CONFIGURATION_load (c2, "test_testing_connect_peer2.conf"));
153 d1 = GNUNET_TESTING_daemon_start (c1, TIMEOUT, GNUNET_NO, NULL, NULL, 0, NULL, 155 d1 = GNUNET_TESTING_daemon_start (c1, TIMEOUT, GNUNET_NO, NULL, NULL, 0, NULL,
154 NULL, NULL, &my_cb1, NULL); 156 NULL, NULL, &my_cb1, NULL);
155 GNUNET_assert (d1 != NULL); 157 GNUNET_assert (d1 != NULL);