mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 15:42:34 +01:00
test_dir: Refactor common code out of the dir_format unit tests
Also: * delete some obsolete code that was #if 0 * improve cleanup on failure * make the dir_format tests more consistent with each other * construct the descriptors using smartlist chunks This refactor is incomplete, because removing the remaining duplicate code would be time-consuming. Part of 29017 and 29018.
This commit is contained in:
parent
8e5df40018
commit
38fc52a50e
1 changed files with 637 additions and 372 deletions
1003
src/test/test_dir.c
1003
src/test/test_dir.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue