core: Fixed segfaults with reset_proc_compat in single mode
This commit is contained in:
parent
1e32935ff6
commit
856a5f80c0
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,8 @@ const struct criterion_suite *criterion_current_suite;
|
||||||
|
|
||||||
void run_test_child(struct criterion_test *test,
|
void run_test_child(struct criterion_test *test,
|
||||||
struct criterion_suite *suite) {
|
struct criterion_suite *suite) {
|
||||||
reset_proc_compat();
|
if (!is_single_mode())
|
||||||
|
reset_proc_compat();
|
||||||
|
|
||||||
cr_redirect_stdin();
|
cr_redirect_stdin();
|
||||||
g_client_socket = connect_client();
|
g_client_socket = connect_client();
|
||||||
|
|
Loading…
Add table
Reference in a new issue