* @file testbed/test_testbed_api_peer_reconfiguration.c
* @brief testcase for testing GNUNET_TESTBED_peer_manage_service()
* implementation
- * @author Sree Harsha Totakura <sreeharsha@totakura.in>
+ * @author Sree Harsha Totakura <sreeharsha@totakura.in>
*/
#include "platform.h"
-#include "gnunet_common.h"
+#include "gnunet_util_lib.h"
#include "gnunet_testbed_service.h"
/**
* Peers have been started
*/
STATE_PEER_STARTED,
-
+
/**
* Peer has been reconfigured. Test completed successfully
*/
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Aborting\n");
abort_task = GNUNET_SCHEDULER_NO_TASK;
if (NULL != op)
- {
+ {
GNUNET_TESTBED_operation_done (op);
op = NULL;
}
fprintf (stderr, "Operation failed: %s\n",
event->details.operation_finished.emsg);
GNUNET_TESTBED_operation_done (op);
- op = NULL;
+ op = NULL;
FAIL_TEST (0, return);
}
GNUNET_TESTBED_operation_done (op);
* failed
*/
static void
-test_master (void *cls,
+test_master (void *cls,
struct GNUNET_TESTBED_RunHandle *h,
unsigned int num_peers,
struct GNUNET_TESTBED_Peer **peers_,