diff options
Diffstat (limited to 'src/fs/test_fs_test_lib.c')
-rw-r--r-- | src/fs/test_fs_test_lib.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/test_fs_test_lib.c b/src/fs/test_fs_test_lib.c index 689456aa4..80b7dcf7c 100644 --- a/src/fs/test_fs_test_lib.c +++ b/src/fs/test_fs_test_lib.c | |||
@@ -90,7 +90,7 @@ do_download (void *cls, const struct GNUNET_FS_Uri *uri, | |||
90 | 90 | ||
91 | 91 | ||
92 | static void | 92 | static void |
93 | do_publish (void *cls, | 93 | do_publish (void *cls, |
94 | struct GNUNET_TESTBED_Operation *op, | 94 | struct GNUNET_TESTBED_Operation *op, |
95 | const char *emsg) | 95 | const char *emsg) |
96 | { | 96 | { |
@@ -113,7 +113,7 @@ do_publish (void *cls, | |||
113 | 113 | ||
114 | /** | 114 | /** |
115 | * Actual main function for the test. | 115 | * Actual main function for the test. |
116 | * | 116 | * |
117 | * @param cls closure | 117 | * @param cls closure |
118 | * @param h the run handle | 118 | * @param h the run handle |
119 | * @param num_peers number of peers in 'peers' | 119 | * @param num_peers number of peers in 'peers' |
@@ -124,7 +124,7 @@ do_publish (void *cls, | |||
124 | * failed | 124 | * failed |
125 | */ | 125 | */ |
126 | static void | 126 | static void |
127 | run (void *cls, | 127 | run (void *cls, |
128 | struct GNUNET_TESTBED_RunHandle *h, | 128 | struct GNUNET_TESTBED_RunHandle *h, |
129 | unsigned int num_peers, | 129 | unsigned int num_peers, |
130 | struct GNUNET_TESTBED_Peer **peers, | 130 | struct GNUNET_TESTBED_Peer **peers, |
@@ -132,7 +132,7 @@ run (void *cls, | |||
132 | unsigned int links_failed) | 132 | unsigned int links_failed) |
133 | { | 133 | { |
134 | unsigned int i; | 134 | unsigned int i; |
135 | 135 | ||
136 | GNUNET_assert (NUM_DAEMONS == num_peers); | 136 | GNUNET_assert (NUM_DAEMONS == num_peers); |
137 | for (i=0;i<num_peers;i++) | 137 | for (i=0;i<num_peers;i++) |
138 | the_peers[i] = peers[i]; | 138 | the_peers[i] = peers[i]; |
@@ -147,7 +147,7 @@ run (void *cls, | |||
147 | /** | 147 | /** |
148 | * Main function that initializes the testbed. | 148 | * Main function that initializes the testbed. |
149 | * | 149 | * |
150 | * @param argc ignored | 150 | * @param argc ignored |
151 | * @param argv ignored | 151 | * @param argv ignored |
152 | * @return 0 on success | 152 | * @return 0 on success |
153 | */ | 153 | */ |
@@ -157,7 +157,7 @@ main (int argc, char *argv[]) | |||
157 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); | 157 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); |
158 | (void) GNUNET_TESTBED_test_run ("test_fs_test_lib", | 158 | (void) GNUNET_TESTBED_test_run ("test_fs_test_lib", |
159 | "fs_test_lib_data.conf", | 159 | "fs_test_lib_data.conf", |
160 | NUM_DAEMONS, | 160 | NUM_DAEMONS, |
161 | 0, NULL, NULL, | 161 | 0, NULL, NULL, |
162 | &run, NULL); | 162 | &run, NULL); |
163 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); | 163 | GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-lib/"); |