diff options
author | Matt Traudt <sirmatt@ksu.edu> | 2016-10-28 11:37:28 -0400 |
---|---|---|
committer | Matt Traudt <sirmatt@ksu.edu> | 2016-10-28 11:37:28 -0400 |
commit | 183fbc4137c3b2c653e93ed0cbc0972c3d26b2ef (patch) | |
tree | 814a0a750caf25d9ca3ed16bd3572d6b2bbfa4cc /src/test/test_dir.c | |
parent | f3e158edf7d8128d4f1e028c5604e70469730947 (diff) | |
download | tor-183fbc4137c3b2c653e93ed0cbc0972c3d26b2ef.tar.gz tor-183fbc4137c3b2c653e93ed0cbc0972c3d26b2ef.zip |
Hopefully fix int64 comparisons in test_dir_networkstatus_compute_bw_weights_v10
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r-- | src/test/test_dir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c index 58628fe6b5..cf0b94c574 100644 --- a/src/test/test_dir.c +++ b/src/test/test_dir.c @@ -2056,7 +2056,7 @@ test_dir_networkstatus_compute_bw_weights_v10(void *arg) E = 980834; D = 3385803; T = 11305425; - tt_int_op(G+M+E+D, OP_EQ, T); + tt_i64_op(G+M+E+D, OP_EQ, T); ret = networkstatus_compute_bw_weights_v10(chunks, G, M, E, D, T, weight_scale); tt_str_op(smartlist_get(chunks, 0), OP_EQ, "bandwidth-weights Wbd=883 Wbe=0 " @@ -2072,7 +2072,7 @@ test_dir_networkstatus_compute_bw_weights_v10(void *arg) E=1522058; D=9273571; T=44839415; - tt_int_op(G+M+E+D, OP_EQ, T); + tt_i64_op(G+M+E+D, OP_EQ, T); ret = networkstatus_compute_bw_weights_v10(chunks, G, M, E, D, T, weight_scale); tt_str_op(smartlist_get(chunks, 0), OP_EQ, "bandwidth-weights Wbd=0 Wbe=0 " @@ -2088,7 +2088,7 @@ test_dir_networkstatus_compute_bw_weights_v10(void *arg) E=2109300; D=2469369; T=9508858; - tt_int_op(G+M+E+D, OP_EQ, T); + tt_i64_op(G+M+E+D, OP_EQ, T); ret = networkstatus_compute_bw_weights_v10(chunks, G, M, E, D, T, weight_scale); tt_str_op(smartlist_get(chunks, 0), OP_EQ, "bandwidth-weights Wbd=317 " @@ -2104,7 +2104,7 @@ test_dir_networkstatus_compute_bw_weights_v10(void *arg) E=1; D=1; T=4; - tt_int_op(G+M+E+D, OP_EQ, T); + tt_i64_op(G+M+E+D, OP_EQ, T); ret = networkstatus_compute_bw_weights_v10(chunks, G, M, E, D, T, weight_scale); tt_str_op(smartlist_get(chunks, 0), OP_EQ, "bandwidth-weights Wbd=3333 " |