Use run_main_loop_until_done() for process_t tests.
commitbc6983afed24c0b83a49d2cef531dcc036245a04
authorAlexander Færøy <ahf@torproject.org>
Wed, 28 Nov 2018 17:10:02 +0000 (28 18:10 +0100)
committerNick Mathewson <nickm@torproject.org>
Mon, 17 Dec 2018 21:39:28 +0000 (17 16:39 -0500)
tree49d2b9410d5db0bd77567b88b338938133a1c070
parentf983a60a6c9ce70e1c674458e468b0d7dcd80c01
Use run_main_loop_until_done() for process_t tests.

This patch changes the slow process_t tests to use
run_main_loop_until_done() instead of do_main_loop() since
do_main_loop() initializes a lot of subsystem callbacks that we don't
need to run in our tests.

See: https://bugs.torproject.org/28179
src/core/mainloop/mainloop.c
src/core/mainloop/mainloop.h
src/test/test_process_slow.c