From: Nick Mathewson Date: Wed, 6 Mar 2019 17:09:46 +0000 (-0500) Subject: Syntax fix in test. X-Git-Tag: tor-0.4.1.1-alpha~105^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c06f02c94067d7ad1bf39982e7238b7fafae0e0;p=thirdparty%2Ftor.git Syntax fix in test. --- 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