[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r25203 - gnunet/src/testbed
From: |
gnunet |
Subject: |
[GNUnet-SVN] r25203 - gnunet/src/testbed |
Date: |
Mon, 3 Dec 2012 18:24:14 +0100 |
Author: harsha
Date: 2012-12-03 18:24:14 +0100 (Mon, 03 Dec 2012)
New Revision: 25203
Modified:
gnunet/src/testbed/testbed_api_testbed.c
Log:
- check the host compatibility check status
Modified: gnunet/src/testbed/testbed_api_testbed.c
===================================================================
--- gnunet/src/testbed/testbed_api_testbed.c 2012-12-03 17:09:01 UTC (rev
25202)
+++ gnunet/src/testbed/testbed_api_testbed.c 2012-12-03 17:24:14 UTC (rev
25203)
@@ -846,6 +846,17 @@
}
GNUNET_assert (nhost != rc->num_hosts);
rc->hc_handles[nhost] = NULL;
+ if (GNUNET_NO == status)
+ {
+ if ((NULL != host) && (NULL != GNUNET_TESTBED_host_get_hostname_ (host)))
+ LOG (GNUNET_ERROR_TYPE_ERROR, _("Host %s cannot start testbed\n"),
+ GNUNET_TESTBED_host_get_hostname_ (host));
+ else
+ LOG (GNUNET_ERROR_TYPE_ERROR, _("Testbed cannot be started on
localhost\n"));
+ GNUNET_SCHEDULER_cancel (rc->shutdown_run_task);
+ rc->shutdown_run_task = GNUNET_SCHEDULER_add_now (&shutdown_run, NULL);
+ return;
+ }
rc->reg_hosts++;
if (rc->reg_hosts < rc->num_hosts)
return;
Property changes on: gnunet/src/testbed/testbed_api_testbed.c
___________________________________________________________________
Modified: svn:mergeinfo
## -1,2 +1,4 ##
+/branches/gnunet/mantis_0001616/src/testbed/gnunet-testbed-profiler.c:13878-14093
/branches/gnunet/mantis_0001616/src/testbed/testbed_api_testbed.c:13878-14093
-/gnunet/src/testbed/gnunet-testbed-profiler.c:25185,25195
+/gnunet/src/testbed/gnunet-testbed-profiler.c:25185,25195,25202
+/gnunet/src/testbed/test_testbed_api_3peers_3controllers.c:25201
\ No newline at end of property
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r25203 - gnunet/src/testbed,
gnunet <=