mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Fix tests on kqueue() based platforms.
This patch disables fork()'ing of the slow process tests. This fixes the tests on the MacOS and other kqueue() based platforms. Without this patch the main loop exits eearly with EBADF as error. See: https://bugs.torproject.org/28179
This commit is contained in:
parent
ccc1963890
commit
6e508e9eb4
1 changed files with 2 additions and 2 deletions
|
@ -324,7 +324,7 @@ test_callbacks_terminate(void *arg)
|
|||
}
|
||||
|
||||
struct testcase_t slow_process_tests[] = {
|
||||
{ "callbacks", test_callbacks, TT_FORK, NULL, NULL },
|
||||
{ "callbacks_terminate", test_callbacks_terminate, TT_FORK, NULL, NULL },
|
||||
{ "callbacks", test_callbacks, 0, NULL, NULL },
|
||||
{ "callbacks_terminate", test_callbacks_terminate, 0, NULL, NULL },
|
||||
END_OF_TESTCASES
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue