[tor-commits] [tor/master] Syntax fix in test.
asn at torproject.org
asn at torproject.org
Fri Apr 5 11:52:42 UTC 2019
commit 8c06f02c94067d7ad1bf39982e7238b7fafae0e0
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Mar 6 12:09:46 2019 -0500
Syntax fix in test.
---
src/test/test_util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_util.c b/src/test/test_util.c
index 4f81e54d2..c683c9475 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -6227,7 +6227,7 @@ test_util_map_anon_nofork(void *arg)
#ifndef NOINHERIT_CAN_FAIL
/* Only if NOINHERIT_CAN_FAIL should it be possible for us to get
* INHERIT_KEEP behavior in this case. */
- tt_assert(inherit, OP_NE, INHERIT_RES_KEEP);
+ tt_int_op(inherit, OP_NE, INHERIT_RES_KEEP);
#else
if (inherit == INHERIT_RES_KEEP) {
/* Call this test "skipped", not "passed", since noinherit wasn't
More information about the tor-commits
mailing list