Merge branch 'maint-0.3.2' into release-0.3.2
This commit is contained in:
commit
41a3eaf2fc
|
@ -2721,6 +2721,8 @@ test_entry_guard_outdated_dirserver_exclusion(void *arg)
|
||||||
smartlist_add(digests, (char*)prose);
|
smartlist_add(digests, (char*)prose);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tt_int_op(smartlist_len(digests), OP_EQ, 20);
|
||||||
|
|
||||||
/* ... now mock some functions */
|
/* ... now mock some functions */
|
||||||
mock_ns_val = tor_malloc_zero(sizeof(networkstatus_t));
|
mock_ns_val = tor_malloc_zero(sizeof(networkstatus_t));
|
||||||
MOCK(networkstatus_get_latest_consensus_by_flavor, mock_ns_get_by_flavor);
|
MOCK(networkstatus_get_latest_consensus_by_flavor, mock_ns_get_by_flavor);
|
||||||
|
|
Loading…
Reference in New Issue