summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-03 15:47:06 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit7c507a1f7f58adb48be887cd26686190c3b22cfd (patch)
treeeac4b2d44a35f6e4065c5921c609f2669f924be4 /src/test
parente42c55626abf7447a154f5271e3bc35743340a21 (diff)
downloadtor-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.c2
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) {