]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Syntax fix in test.
authorNick Mathewson <nickm@torproject.org>
Wed, 6 Mar 2019 17:09:46 +0000 (12:09 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 4 Apr 2019 16:56:52 +0000 (12:56 -0400)
src/test/test_util.c

index 4f81e54d2b5179ac7de0ab38385357feea725e36..c683c9475b7c2ac4f4be44d8a53ed867bc13b527 100644 (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