diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-13 16:07:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-13 16:07:22 +0000 |
commit | d0a232898f2877d4584b7bf97974e0bbde73fab8 (patch) | |
tree | 65772915d24f8f688a409794dfdb323b15c8313a /src/dv/test_transport_blacklist.c | |
parent | c642f0e287ea3a2bb6362c97c590757b723155e4 (diff) | |
download | gnunet-d0a232898f2877d4584b7bf97974e0bbde73fab8.tar.gz gnunet-d0a232898f2877d4584b7bf97974e0bbde73fab8.zip |
-update test cases and improve output
Diffstat (limited to 'src/dv/test_transport_blacklist.c')
-rw-r--r-- | src/dv/test_transport_blacklist.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dv/test_transport_blacklist.c b/src/dv/test_transport_blacklist.c index 76120b430..834cde19a 100644 --- a/src/dv/test_transport_blacklist.c +++ b/src/dv/test_transport_blacklist.c | |||
@@ -40,9 +40,15 @@ test_connection (void *cls, | |||
40 | { | 40 | { |
41 | if ( (4 == num_peers) && (0 == links_failed) ) | 41 | if ( (4 == num_peers) && (0 == links_failed) ) |
42 | { | 42 | { |
43 | fprintf (stderr, "Testbed connect peers despite blacklist!\n"); | 43 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
44 | "Testbed connect peers despite blacklist!\n"); | ||
44 | ok = 1; | 45 | ok = 1; |
45 | } | 46 | } |
47 | else | ||
48 | { | ||
49 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
50 | "Note that getting a message about a timeout during setup is expected for this test.\n"); | ||
51 | } | ||
46 | GNUNET_SCHEDULER_shutdown (); | 52 | GNUNET_SCHEDULER_shutdown (); |
47 | } | 53 | } |
48 | 54 | ||