diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-07-29 13:06:05 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-07-29 13:06:05 +0000 |
commit | 764a37c57035bb131d4cf265bf24396c1e422efb (patch) | |
tree | 57387c417cf2c444122769f8e162e9398bfbfbc8 /src/cadet | |
parent | bbcc49b41c05149b27f8f310e1dad5f0078533b4 (diff) | |
download | gnunet-764a37c57035bb131d4cf265bf24396c1e422efb.tar.gz gnunet-764a37c57035bb131d4cf265bf24396c1e422efb.zip |
- more info on buildbot errors
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/test_cadet.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c index 1f65615d5..cf0f6ffc9 100644 --- a/src/cadet/test_cadet.c +++ b/src/cadet/test_cadet.c | |||
@@ -502,9 +502,15 @@ data_callback (void *cls, struct GNUNET_CADET_Channel *channel, | |||
502 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, " ok: (%d/%d)\n", ok, ok_goal); | 502 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, " ok: (%d/%d)\n", ok, ok_goal); |
503 | data = (uint32_t *) &message[1]; | 503 | data = (uint32_t *) &message[1]; |
504 | payload = ntohl (*data); | 504 | payload = ntohl (*data); |
505 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, " payload: %u, data_received: %u\n", | 505 | if (payload == counter) |
506 | payload, counter); | 506 | { |
507 | GNUNET_break (payload == counter); | 507 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, " payload as expected: %u\n", payload); |
508 | } | ||
509 | else | ||
510 | { | ||
511 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, " payload %u, expected: %u\n", | ||
512 | payload, counter); | ||
513 | } | ||
508 | expected_target_client = get_expected_target (); | 514 | expected_target_client = get_expected_target (); |
509 | 515 | ||
510 | if (GNUNET_NO == initialized) | 516 | if (GNUNET_NO == initialized) |