[tor/master] test_config.c: log which address should have failed

3 Feb
2014
3 Feb
'14
9:21 p.m.
commit c61a472076bb287f94c843f1bddf5e1604014dfe Author: Nick Mathewson <nickm@torproject.org> Date: Mon Feb 3 16:21:32 2014 -0500 test_config.c: log which address should have failed --- src/test/test_config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/test_config.c b/src/test/test_config.c index 6a285db..3a1b6d7 100644 --- a/src/test/test_config.c +++ b/src/test/test_config.c @@ -358,6 +358,8 @@ static void bad_bridge_line_test(const char *string) { bridge_line_t *bridge_line = parse_bridge_line(string); + if (bridge_line) + TT_FAIL(("%s was supposed to fail, but it didn't.", string)); test_assert(!bridge_line); done:
4166
Age (days ago)
4166
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org