diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-12-20 12:45:52 +0100 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2018-12-20 12:45:52 +0100 |
commit | fe2f4f3ec58ef03e8d3fe802283b848d54b5eb76 (patch) | |
tree | 0a62db61e2b3a12bb416779fdbcfa5ae1df77a40 /src/test/test_process_slow.c | |
parent | 372df7a630afa4ffb0782287366b629916e0f728 (diff) | |
download | tor-fe2f4f3ec58ef03e8d3fe802283b848d54b5eb76.tar.gz tor-fe2f4f3ec58ef03e8d3fe802283b848d54b5eb76.zip |
Remember to check for whether we actually did exit in tests.
See: https://bugs.torproject.org/28179
Diffstat (limited to 'src/test/test_process_slow.c')
-rw-r--r-- | src/test/test_process_slow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_process_slow.c b/src/test/test_process_slow.c index a1f99bff0f..3f8c07f312 100644 --- a/src/test/test_process_slow.c +++ b/src/test/test_process_slow.c @@ -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. */ |