Skip to content
Snippets Groups Projects
Commit 2e5d555c authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

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.
parent 67d921a6
Branches
Tags
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment