[tor-commits] [tor/maint-0.4.0] test/dir: add a 4th argument to dirserv_read_measured_bandwidths()

asn at torproject.org asn at torproject.org
Tue Mar 26 13:21:59 UTC 2019


commit 3af9a51118aadde538580f6d4f8043a0a9bba512
Author: teor <teor at torproject.org>
Date:   Thu Mar 21 23:35:56 2019 +1000

    test/dir: add a 4th argument to dirserv_read_measured_bandwidths()
    
    Part of 29806.
---
 src/test/test_dir.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index b9a48c650..07a2641c9 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -2064,7 +2064,8 @@ test_dir_dirserv_read_measured_bandwidths(void *arg)
 
   /* Read the bandwidth file */
   setup_full_capture_of_logs(LOG_DEBUG);
-  tt_int_op(0, OP_EQ, dirserv_read_measured_bandwidths(fname, NULL, NULL));
+  tt_int_op(0, OP_EQ, dirserv_read_measured_bandwidths(fname, NULL, NULL,
+                                                       NULL));
   expect_log_msg_containing("Ignoring bandwidth file line");
   teardown_capture_of_logs();
 
@@ -2082,7 +2083,8 @@ test_dir_dirserv_read_measured_bandwidths(void *arg)
 
   /* Read the bandwidth file */
   setup_full_capture_of_logs(LOG_DEBUG);
-  tt_int_op(0, OP_EQ, dirserv_read_measured_bandwidths(fname, NULL, NULL));
+  tt_int_op(0, OP_EQ, dirserv_read_measured_bandwidths(fname, NULL, NULL,
+                                                       NULL));
   expect_log_msg_not_containing("Ignoring bandwidth file line");
   teardown_capture_of_logs();
 





More information about the tor-commits mailing list