[PATCH] libs/wine/string.c: Duplicate Windows behaviour in vsnprintfW

Jonathan Vollebregt jnvsor at gmail.com
Sat Dec 20 06:12:29 CST 2014


broken() only returns true if the test passes on windows so something 
like this:

> ok(ret == 11 || broken(ret == -1 /* Win2k */), "got %d\n", ret);

Will still fail properly if it returns -1 in wine

On 12/20/2014 12:09 PM, Hugh McMaster wrote:
> What's the best way to handle the different return value in Wine tests?
>
>      ok( ret == 11 || ret == -1, "got %d, expected 11\n", ret );



More information about the wine-devel mailing list