diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-05-31 21:44:02 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-05-31 21:44:02 +0000 |
commit | eaa7823b3793e185f947f8bf4ad254078f7d915d (patch) | |
tree | 6410c764af58546be61e74f733d8ea1147befa36 /src/testing/testing_new.c | |
parent | 1efc19b93376335334628ca6d25a78e01e360370 (diff) | |
download | gnunet-eaa7823b3793e185f947f8bf4ad254078f7d915d.tar.gz gnunet-eaa7823b3793e185f947f8bf4ad254078f7d915d.zip |
-test case for service_startup()
Diffstat (limited to 'src/testing/testing_new.c')
-rw-r--r-- | src/testing/testing_new.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testing/testing_new.c b/src/testing/testing_new.c index c19f5c8e1..c45b89e29 100644 --- a/src/testing/testing_new.c +++ b/src/testing/testing_new.c | |||
@@ -965,9 +965,11 @@ GNUNET_TESTING_service_run (const char *tmppath, | |||
965 | if (NULL == peer) | 965 | if (NULL == peer) |
966 | { | 966 | { |
967 | GNUNET_CONFIGURATION_destroy (cfg); | 967 | GNUNET_CONFIGURATION_destroy (cfg); |
968 | GNUNET_TESTING_hostkeys_unload (system); | ||
968 | GNUNET_TESTING_system_destroy (system, GNUNET_YES); | 969 | GNUNET_TESTING_system_destroy (system, GNUNET_YES); |
969 | return 1; | 970 | return 1; |
970 | } | 971 | } |
972 | GNUNET_TESTING_hostkeys_unload (system); | ||
971 | GNUNET_free (peer->main_binary); | 973 | GNUNET_free (peer->main_binary); |
972 | GNUNET_asprintf (&peer->main_binary, "gnunet-service-%s", service_name); | 974 | GNUNET_asprintf (&peer->main_binary, "gnunet-service-%s", service_name); |
973 | if (GNUNET_OK != GNUNET_TESTING_peer_start (peer)) | 975 | if (GNUNET_OK != GNUNET_TESTING_peer_start (peer)) |