diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-08-03 15:47:06 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:34 -0400 |
commit | 7c507a1f7f58adb48be887cd26686190c3b22cfd (patch) | |
tree | eac4b2d44a35f6e4065c5921c609f2669f924be4 /src/test | |
parent | e42c55626abf7447a154f5271e3bc35743340a21 (diff) | |
download | tor-7c507a1f7f58adb48be887cd26686190c3b22cfd.tar.gz tor-7c507a1f7f58adb48be887cd26686190c3b22cfd.zip |
Relax assertions: turn them to BUGs and non-fatal asserts.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_hs_service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index 6d5ea7ed7d..2ad8393e84 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -540,7 +540,7 @@ test_helper_functions(void *arg) /* Testing get_node_from_intro_point() */ { const node_t *node = get_node_from_intro_point(ip); - tt_assert(node == &mock_node); + tt_ptr_op(node, OP_EQ, &mock_node); SMARTLIST_FOREACH_BEGIN(ip->base.link_specifiers, hs_desc_link_specifier_t *, ls) { if (ls->type == LS_LEGACY_ID) { |