Add slow test for process_t for main loop interaction.
commit9b6a10a26f25e0da07e62bd5617b519b0952b40a
authorAlexander Færøy <ahf@torproject.org>
Mon, 26 Nov 2018 01:18:04 +0000 (26 02:18 +0100)
committerNick Mathewson <nickm@torproject.org>
Mon, 17 Dec 2018 21:39:28 +0000 (17 16:39 -0500)
treeb81e247aadd393f97980797473b6eba38ad8b6d2
parente3ceaebba25127a1d4a3da16e9128ab52491c080
Add slow test for process_t for main loop interaction.

This patch adds test cases for process_t which uses Tor's main loop.
This allows us to test that the callbacks are actually invoked by the
main loop when we expect them.

See: https://bugs.torproject.org/28179
.gitignore
src/test/include.am
src/test/test-process.c [new file with mode: 0644]
src/test/test.h
src/test/test_process_slow.c [new file with mode: 0644]
src/test/test_slow.c