diff options
author | harsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-09-18 12:38:14 +0000 |
---|---|---|
committer | harsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-09-18 12:38:14 +0000 |
commit | d9d4abe7abe2e81cb47a179d5750b06b999280b4 (patch) | |
tree | c2552b94a42961b297360a52ae1cd91677c11cd7 /src/testbed | |
parent | ee30e84dca9dbe0d01fe870d6663223fba883e66 (diff) |
fixes
git-svn-id: https://gnunet.org/svn/gnunet@23880 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/testbed')
-rw-r--r-- | src/testbed/test_testbed_api_2peers_2controllers.c | 1 | ||||
-rw-r--r-- | src/testbed/test_testbed_api_controllerlink.c | 1 | ||||
-rw-r--r-- | src/testbed/test_testbed_api_testbed_run.c | 3 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/testbed/test_testbed_api_2peers_2controllers.c b/src/testbed/test_testbed_api_2peers_2controllers.c index 97f425df2d..57d9c13869 100644 --- a/src/testbed/test_testbed_api_2peers_2controllers.c +++ b/src/testbed/test_testbed_api_2peers_2controllers.c @@ -611,6 +611,7 @@ main (int argc, char **argv) (void) usleep (300); } while (GNUNET_NO == ret); + (void) GNUNET_OS_process_wait (auxp); GNUNET_OS_process_destroy (auxp); if (0 != code) { diff --git a/src/testbed/test_testbed_api_controllerlink.c b/src/testbed/test_testbed_api_controllerlink.c index 7a1690f7d3..a82c782481 100644 --- a/src/testbed/test_testbed_api_controllerlink.c +++ b/src/testbed/test_testbed_api_controllerlink.c @@ -522,6 +522,7 @@ main (int argc, char **argv) (void) usleep (300); } while (GNUNET_NO == ret); + (void) GNUNET_OS_process_wait (auxp); GNUNET_OS_process_destroy (auxp); if (0 != code) { diff --git a/src/testbed/test_testbed_api_testbed_run.c b/src/testbed/test_testbed_api_testbed_run.c index 82734d7e96..dcb02dd7d9 100644 --- a/src/testbed/test_testbed_api_testbed_run.c +++ b/src/testbed/test_testbed_api_testbed_run.c @@ -70,7 +70,7 @@ do_shutdown (void *cls, const const struct GNUNET_SCHEDULER_TaskContext *tc) { if (GNUNET_SCHEDULER_NO_TASK != abort_task) GNUNET_SCHEDULER_cancel (abort_task); - GNUNET_SCHEDULER_shutdown (); + GNUNET_SCHEDULER_shutdown (); /* Stop scheduler to shutdown testbed run */ } @@ -86,7 +86,6 @@ do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Test timedout -- Aborting\n"); abort_task = GNUNET_SCHEDULER_NO_TASK; GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); - GNUNET_SCHEDULER_shutdown (); /* Stop the scheduler */ } |