diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-03-28 16:47:02 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-03-28 16:47:02 +0000 |
commit | 949f21f03df9f08b0a73c3e47a798e63790edf7f (patch) | |
tree | 52f56432e08a0b83cfc155e1af45e1587d32073d /src/fs/test_fs_test_lib.c | |
parent | 8f8e6a5bb1ccbb7d1311332ec1cc3a340bdd621f (diff) | |
download | gnunet-949f21f03df9f08b0a73c3e47a798e63790edf7f.tar.gz gnunet-949f21f03df9f08b0a73c3e47a798e63790edf7f.zip |
provide how many links succeeded and how many failed in test master callback
from GNUNET_TESTBED_run() and GNUNET_TESTBED_test_run() functions
Diffstat (limited to 'src/fs/test_fs_test_lib.c')
-rw-r--r-- | src/fs/test_fs_test_lib.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/fs/test_fs_test_lib.c b/src/fs/test_fs_test_lib.c index 2fe5a8140..81625030d 100644 --- a/src/fs/test_fs_test_lib.c +++ b/src/fs/test_fs_test_lib.c | |||
@@ -117,11 +117,17 @@ do_publish (void *cls, | |||
117 | * @param cls closure | 117 | * @param cls closure |
118 | * @param num_peers number of peers in 'peers' | 118 | * @param num_peers number of peers in 'peers' |
119 | * @param peers handle to peers run in the testbed | 119 | * @param peers handle to peers run in the testbed |
120 | * @param links_succeeded the number of overlay link connection attempts that | ||
121 | * succeeded | ||
122 | * @param links_failed the number of overlay link connection attempts that | ||
123 | * failed | ||
120 | */ | 124 | */ |
121 | static void | 125 | static void |
122 | run (void *cls, | 126 | run (void *cls, |
123 | unsigned int num_peers, | 127 | unsigned int num_peers, |
124 | struct GNUNET_TESTBED_Peer **peers) | 128 | struct GNUNET_TESTBED_Peer **peers, |
129 | unsigned int links_succeeded, | ||
130 | unsigned int links_failed) | ||
125 | { | 131 | { |
126 | unsigned int i; | 132 | unsigned int i; |
127 | 133 | ||