conhost/tests: Wait for child process in test_pseudoconsole.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
129149d212
commit
a26bb7b2ef
|
@ -1277,6 +1277,11 @@ static void test_pseudoconsole(void)
|
|||
}
|
||||
else win_skip("Skipping tty output tests on broken Windows version\n");
|
||||
|
||||
CloseHandle(child_pipe);
|
||||
wait_child_process(child_process);
|
||||
CloseHandle(child_process);
|
||||
expect_empty_output();
|
||||
|
||||
pClosePseudoConsole(console);
|
||||
CloseHandle(console_pipe_end);
|
||||
CloseHandle(console_pipe);
|
||||
|
|
Loading…
Reference in New Issue