*/
/**
* @file nse/test_nse_multipeer.c
- *
* @brief Testcase for the network size estimation service. Starts
* a peergroup with a given number of peers, then waits to
* receive size estimates from each peer. Expects to wait
estimate, std_dev,
GNUNET_NSE_log_estimate_to_n (estimate),
NUM_PEERS);
+ ok = 0;
}
* @param cls closure
* @param num_peers number of peers in 'peers'
* @param peers handle to peers run in the testbed
+ * @param links_succeeded the number of overlay link connection attempts that
+ * succeeded
+ * @param links_failed the number of overlay link connection attempts that
+ * failed
*/
static void
run (void *cls,
unsigned int num_peers,
- struct GNUNET_TESTBED_Peer **peers)
+ struct GNUNET_TESTBED_Peer **peers,
+ unsigned int links_succeeded,
+ unsigned int links_failed)
{
unsigned int i;
main (int argc, char *argv[])
{
ok = 1;
- GNUNET_TESTBED_test_run ("test-nse-multipeer",
- "test_nse.conf",
- NUM_PEERS,
- 0, NULL, NULL,
- &run, NULL);
+ (void) GNUNET_TESTBED_test_run ("test-nse-multipeer",
+ "test_nse.conf",
+ NUM_PEERS,
+ 0, NULL, NULL,
+ &run, NULL);
return ok;
}