Syntax fix in test.

This commit is contained in:
Nick Mathewson 2019-03-06 12:09:46 -05:00
parent 027c536598
commit 8c06f02c94

View File

@ -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