mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Fix a compilation error in the channel tests.
This would only show up on systems like windows where monotime_t and monotime_coarse_t are different types.
This commit is contained in:
parent
1eeb505e6f
commit
2f0d57db56
@ -719,7 +719,7 @@ test_channel_inbound_cell(void *arg)
|
||||
tt_assert(!monotime_coarse_is_zero(&chan->timestamp_xfer));
|
||||
tt_u64_op(chan->timestamp_active, OP_NE, 0);
|
||||
tt_u64_op(chan->timestamp_recv, OP_NE, 0);
|
||||
tt_assert(monotime_is_zero(&chan->next_padding_time));
|
||||
tt_assert(monotime_coarse_is_zero(&chan->next_padding_time));
|
||||
tt_u64_op(chan->n_cells_recved, OP_EQ, 1);
|
||||
tt_u64_op(chan->n_bytes_recved, OP_EQ, get_cell_network_size(0));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user