summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-10 15:38:52 -0500
committerNick Mathewson <nickm@torproject.org>2016-02-10 15:38:52 -0500
commit69c47ab5fd608ecd47ddd3c1d2f041a2b41791b5 (patch)
treea0742ef91ea8dde163cfdc60fe359b17a4d1b619 /src/test
parent4dc8dc4b89259e1418cd984abe1cd8d8fc6a7496 (diff)
parent55d6fd27cbe6f058a1f444f47f05c7b64891655e (diff)
downloadtor-69c47ab5fd608ecd47ddd3c1d2f041a2b41791b5.tar.gz
tor-69c47ab5fd608ecd47ddd3c1d2f041a2b41791b5.zip
Merge remote-tracking branch 'sebastian/bug18242'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_rendcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_rendcache.c b/src/test/test_rendcache.c
index 77796994b4..7e04799db2 100644
--- a/src/test/test_rendcache.c
+++ b/src/test/test_rendcache.c
@@ -128,8 +128,8 @@ test_rend_cache_store_v2_desc_as_client(void *data)
// Test bad base32 failure
// This causes an assertion failure if we're running with assertions.
- // But when doing coverage, we can test it.
-#ifdef TOR_COVERAGE
+ // But when building without asserts, we can test it.
+#ifdef DISABLE_ASSERTS_IN_UNIT_TESTS
ret = rend_cache_store_v2_desc_as_client(desc_holder->desc_str,
"!xqunszqnaolrrfmtzgaki7mxelgvkj", mock_rend_query, NULL);
tt_int_op(ret, OP_EQ, RCS_BADDESC);