Commit 87a9d790 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

conhost/tests: Silence debug output in child process if std output is a console.

parent ca96e046
......@@ -1402,7 +1402,11 @@ START_TEST(tty)
if (argc > 3)
{
HANDLE pipe;
DWORD mode;
sscanf(argv[3], "%p", &pipe);
/* if std output is console, silence debug output so it does not interfere with tests */
if (GetConsoleMode(GetStdHandle(STD_OUTPUT_HANDLE), &mode))
winetest_debug = 0;
child_process(pipe);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment