mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Remember to check for whether we actually did exit in tests.
See: https://bugs.torproject.org/28179
This commit is contained in:
parent
372df7a630
commit
fe2f4f3ec5
@ -242,6 +242,7 @@ test_callbacks(void *arg)
|
||||
/* We returned. Let's see what our event loop said. */
|
||||
tt_int_op(smartlist_len(process_data->stdout_data), OP_EQ, 12);
|
||||
tt_int_op(smartlist_len(process_data->stderr_data), OP_EQ, 3);
|
||||
tt_assert(process_data->did_exit);
|
||||
tt_int_op(process_data->exit_code, OP_EQ, 0);
|
||||
|
||||
/* Check stdout output. */
|
||||
|
Loading…
Reference in New Issue
Block a user