aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-03-21 23:35:56 +1000
committerteor <teor@torproject.org>2019-03-26 11:49:33 +1000
commit3af9a51118aadde538580f6d4f8043a0a9bba512 (patch)
tree21c457c9a0b8504d1987ea10f0b43c7f64e85280 /src/test/test_dir.c
parentb76ae3898d5d6e34c291f8e0506147a5bd4cbc07 (diff)
downloadtor-3af9a51118aadde538580f6d4f8043a0a9bba512.tar.gz
tor-3af9a51118aadde538580f6d4f8043a0a9bba512.zip
test/dir: add a 4th argument to dirserv_read_measured_bandwidths()
Part of 29806.
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r--src/test/test_dir.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index b9a48c6506..07a2641c9f 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();