Re: [1/2] tests: Add functions to make it possible to handle Windows misbehaviors that we don't want to reproduce in Wine.