diff options
author | teor <teor@torproject.org> | 2019-03-21 12:56:28 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-03-21 12:56:28 +1000 |
commit | 091f8688b8ee15b57ed5bc24bac12a7a0b7f5725 (patch) | |
tree | 200b322a1d49a849976da15be62652fb45cb0f83 /src/test/test_dir.c | |
parent | 3adb689fbc28434efa6a3b599163b1d5b6cae3e9 (diff) | |
download | tor-091f8688b8ee15b57ed5bc24bac12a7a0b7f5725.tar.gz tor-091f8688b8ee15b57ed5bc24bac12a7a0b7f5725.zip |
test/dir: add an extra argument to dirserv_read_measured_bandwidths()
Part of 29806.
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r-- | src/test/test_dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c index cbb414ed62..0e44c47f3f 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -2014,7 +2014,7 @@ 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)); + tt_int_op(0, OP_EQ, dirserv_read_measured_bandwidths(fname, NULL, NULL)); expect_log_msg_containing("Ignoring bandwidth file line"); teardown_capture_of_logs(); @@ -2032,7 +2032,7 @@ 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)); + tt_int_op(0, OP_EQ, dirserv_read_measured_bandwidths(fname, NULL, NULL)); expect_log_msg_not_containing("Ignoring bandwidth file line"); teardown_capture_of_logs(); |