[PATCH v4] programs/winetest: don't create console when non connected to a console

Francois Gouget fgouget at codeweavers.com
Thu Mar 31 12:22:46 CDT 2022


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>

That's great. I can now reproduce these failures.
The easiest way to do so from a terminal is something like this:

  nohup ./wine ... 2>&1 | cat

With this winetest patch user32:input succeeds... sometimes.
I don't think this means the patch is wrong.

Rather the issue is that user32:input itself 'forks' without passing 
DETACHED_PROCESS to CreateProcess(), causing consoles to appear in the 
middle of the test which randomly leads to failures.

So it looks like we now will have to patch a bunch of tests for similar 
issues.


-- 
Francois Gouget <fgouget at codeweavers.com>



More information about the wine-devel mailing list