diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-12 09:02:44 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-12 09:02:44 +0000 |
commit | 9a065e97118b882b4fb6f245b060f21aa1f3ee3b (patch) | |
tree | e0126ddfdbefa9136ec0e386e89f81def250c00f /src/testbed/test_testbed_api_hosts.c | |
parent | 9a2533ba086a2d45caf6abcb58d4fc97df1a52ca (diff) | |
download | gnunet-9a065e97118b882b4fb6f245b060f21aa1f3ee3b.tar.gz gnunet-9a065e97118b882b4fb6f245b060f21aa1f3ee3b.zip |
host file support for testbed profiler
Diffstat (limited to 'src/testbed/test_testbed_api_hosts.c')
-rw-r--r-- | src/testbed/test_testbed_api_hosts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testbed/test_testbed_api_hosts.c b/src/testbed/test_testbed_api_hosts.c index 0102b9e26..e5b529ad8 100644 --- a/src/testbed/test_testbed_api_hosts.c +++ b/src/testbed/test_testbed_api_hosts.c | |||
@@ -102,6 +102,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
102 | &hosts); | 102 | &hosts); |
103 | GNUNET_assert (15 == num_hosts); | 103 | GNUNET_assert (15 == num_hosts); |
104 | GNUNET_assert (NULL != hosts); | 104 | GNUNET_assert (NULL != hosts); |
105 | result = GNUNET_YES; | ||
105 | shutdown_id = | 106 | shutdown_id = |
106 | GNUNET_SCHEDULER_add_delayed (TIME_REL_SECS (2), &do_shutdown, NULL); | 107 | GNUNET_SCHEDULER_add_delayed (TIME_REL_SECS (2), &do_shutdown, NULL); |
107 | } | 108 | } |
@@ -118,7 +119,7 @@ main (int argc, char **argv) | |||
118 | GNUNET_GETOPT_OPTION_END | 119 | GNUNET_GETOPT_OPTION_END |
119 | }; | 120 | }; |
120 | 121 | ||
121 | status = GNUNET_YES; | 122 | status = GNUNET_SYSERR; |
122 | if (GNUNET_OK != | 123 | if (GNUNET_OK != |
123 | GNUNET_PROGRAM_run ((sizeof (argv2) / sizeof (char *)) - 1, argv2, | 124 | GNUNET_PROGRAM_run ((sizeof (argv2) / sizeof (char *)) - 1, argv2, |
124 | "test_testbed_api_hosts", "nohelp", options, &run, | 125 | "test_testbed_api_hosts", "nohelp", options, &run, |