diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-10-17 16:27:29 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-10-17 16:27:29 +0000 |
commit | cfc4a427b24f0ab204fe8333a8c9eaa9ac9a5b41 (patch) | |
tree | 294c5d50e4bf27c9d17f40c495313e3d7a3d0b57 /src/transport/test_quota_compliance.c | |
parent | 62979559c33059ac59cd2a28393749f2552c781e (diff) | |
download | gnunet-cfc4a427b24f0ab204fe8333a8c9eaa9ac9a5b41.tar.gz gnunet-cfc4a427b24f0ab204fe8333a8c9eaa9ac9a5b41.zip |
all tests use generated configs and pass on my system
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r-- | src/transport/test_quota_compliance.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index 493352512..a8a780ff6 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -269,7 +269,8 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
269 | if (die_task != GNUNET_SCHEDULER_NO_TASK) | 269 | if (die_task != GNUNET_SCHEDULER_NO_TASK) |
270 | GNUNET_SCHEDULER_cancel (die_task); | 270 | GNUNET_SCHEDULER_cancel (die_task); |
271 | test_failed = GNUNET_YES; | 271 | test_failed = GNUNET_YES; |
272 | die_task = GNUNET_SCHEDULER_add_now (&end_badly, NULL); | 272 | die_task = GNUNET_SCHEDULER_add_now (&end_badly, |
273 | NULL); | ||
273 | return; | 274 | return; |
274 | } | 275 | } |
275 | #if VERBOSE | 276 | #if VERBOSE |
@@ -498,13 +499,13 @@ run_measurement (unsigned long long p1_quota_in, unsigned long long p1_quota_out | |||
498 | "Generated config file `%s'\n", | 499 | "Generated config file `%s'\n", |
499 | gen_cfg_p2); | 500 | gen_cfg_p2); |
500 | 501 | ||
501 | p1 = GNUNET_TRANSPORT_TESTING_start_peer (tth, cfg_file_p1, 1, | 502 | p1 = GNUNET_TRANSPORT_TESTING_start_peer (tth, gen_cfg_p1, 1, |
502 | ¬ify_receive, | 503 | ¬ify_receive, |
503 | ¬ify_connect, ¬ify_disconnect, | 504 | ¬ify_connect, ¬ify_disconnect, |
504 | &start_cb, | 505 | &start_cb, |
505 | NULL); | 506 | NULL); |
506 | 507 | ||
507 | p2 = GNUNET_TRANSPORT_TESTING_start_peer (tth, cfg_file_p2, 2, | 508 | p2 = GNUNET_TRANSPORT_TESTING_start_peer (tth, gen_cfg_p2, 2, |
508 | ¬ify_receive, | 509 | ¬ify_receive, |
509 | ¬ify_connect, ¬ify_disconnect, | 510 | ¬ify_connect, ¬ify_disconnect, |
510 | &start_cb, | 511 | &start_cb, |