[tor-commits] [tor/master] Update routerset reset test to use new mgr API.

dgoulet at torproject.org dgoulet at torproject.org
Wed Sep 4 14:39:09 UTC 2019


commit c683896b7c2700e2b209167c699f8d2413a805b2
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Sep 4 08:42:34 2019 -0400

    Update routerset reset test to use new mgr API.
---
 src/test/test_confparse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_confparse.c b/src/test/test_confparse.c
index cf2e8a80e..bd2b5cdf1 100644
--- a/src/test/test_confparse.c
+++ b/src/test/test_confparse.c
@@ -610,7 +610,7 @@ test_confparse_reset(void *arg)
   tt_int_op(tst->interval, OP_EQ, 10);
 
   tt_ptr_op(tst->routerset, OP_NE, NULL);
-  config_reset_line(&test_fmt, tst, "routerset", 0);
+  config_reset_line(mgr, tst, "routerset", 0);
   tt_ptr_op(tst->routerset, OP_EQ, NULL);
 
  done:





More information about the tor-commits mailing list