mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Initialize all subsystems during the unit tests
Previously we had initialized only the library subsystems. This made it hard to write some tests, and encouraged people to put their subsystems at a level lower than they really belonged at. Instead, it probably just makes sense to initialize everything before we start the tests. Without this fix, 33316 breaks our tests because of raising the level of the ocirc/orconn events.
This commit is contained in:
parent
67d921a696
commit
2e5d555c0e
@ -273,7 +273,7 @@ main(int c, const char **v)
|
||||
int loglevel = LOG_ERR;
|
||||
int accel_crypto = 0;
|
||||
|
||||
subsystems_init_upto(SUBSYS_LEVEL_LIBS);
|
||||
subsystems_init();
|
||||
|
||||
options = options_new();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user