[tor-commits] [tor/master] test: Use a 64-bit comparison for logging domains.

nickm at torproject.org nickm at torproject.org
Thu Jul 25 20:57:56 UTC 2019


commit 6095bbf74ec9ea1eb6eaba15939766cad0a3b235
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Jul 25 16:57:06 2019 -0400

    test: Use a 64-bit comparison for logging domains.
---
 src/test/test_routerlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_routerlist.c b/src/test/test_routerlist.c
index 84ec8cc46..6d596e87e 100644
--- a/src/test/test_routerlist.c
+++ b/src/test/test_routerlist.c
@@ -631,7 +631,7 @@ mock_clock_skew_warning(const connection_t *conn, long apparent_skew,
   (void)conn;
   mock_apparent_skew = apparent_skew;
   tt_int_op(trusted, OP_EQ, 1);
-  tt_int_op(domain, OP_EQ, LD_GENERAL);
+  tt_i64_op(domain, OP_EQ, LD_GENERAL);
   tt_str_op(received, OP_EQ, "microdesc flavor consensus");
   tt_str_op(source, OP_EQ, "CONSENSUS");
  done:





More information about the tor-commits mailing list