https://bugs.winehq.org/show_bug.cgi?id=44296
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Hans Leidekker from comment #5)
Created attachment 60143 [details] patch
Thanks for the nice bug report. Can you try this patch?
I can confirm that this patch fixes the issue on Ubuntu.
The weird thing is, on Ubuntu I only get one test failure, like described in the bugreport, while on macOS I get two. I can't test this patch there because I haven't been able to build Wine correctly on it.