Alexandre Julliard : tests: Add a helper routine to wait for a child process and propagate its result correctly .