diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2016-02-05 14:40:07 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2016-02-05 14:40:07 +0100 |
commit | 55d6fd27cbe6f058a1f444f47f05c7b64891655e (patch) | |
tree | 9844f3a814ff8b9055015e2ba63635964e979313 /src/test | |
parent | 5d63cbf7f94d7747c00f6bf30a4094d13dc92332 (diff) | |
download | tor-55d6fd27cbe6f058a1f444f47f05c7b64891655e.tar.gz tor-55d6fd27cbe6f058a1f444f47f05c7b64891655e.zip |
Fix the --disable-asserts-in-tests configure option
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_rendcache.c | 4 |
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); |