summaryrefslogtreecommitdiff
path: root/src/test/test_util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-03-06 12:09:46 -0500
committerNick Mathewson <nickm@torproject.org>2019-04-04 12:56:52 -0400
commit8c06f02c94067d7ad1bf39982e7238b7fafae0e0 (patch)
treeb3142ad6d84941a24e6058a11638db455a4f2a03 /src/test/test_util.c
parent027c536598f336014d7ef406610207ec4559d490 (diff)
downloadtor-8c06f02c94067d7ad1bf39982e7238b7fafae0e0.tar.gz
tor-8c06f02c94067d7ad1bf39982e7238b7fafae0e0.zip
Syntax fix in test.
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r--src/test/test_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c
index 4f81e54d2b..c683c9475b 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