]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
test/dir: add a 4th argument to dirserv_read_measured_bandwidths()
authorteor <teor@torproject.org>
Thu, 21 Mar 2019 13:35:56 +0000 (23:35 +1000)
committerteor <teor@torproject.org>
Tue, 26 Mar 2019 01:49:33 +0000 (11:49 +1000)
Part of 29806.

src/test/test_dir.c

index b9a48c65060bf23b3b8ee3743ccdead9522a12da..07a2641c9f578a39af1bd33a44dc314a507d82e2 100644 (file)
@@ -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();