[PATCH] netapi32/tests: Print NetWkstaTransportEnum error code on test failure

Dmitry Timoshkov dmitry at baikal.ru
Wed Dec 20 00:08:08 CST 2017


Alex Henrie <alexhenrie24 at gmail.com> wrote:

> This will help us figure out why this test fails intermittently on
> Windows 10.
...
> -    ok(apiReturn == RPC_X_NULL_REF_POINTER, "null pointer\n");
> +    ok(apiReturn == RPC_X_NULL_REF_POINTER,
> +       "NetWkstaTransportEnum returned %d\n", apiReturn);

Since this is basically an NT status code it would help better when
being printed in hex.

-- 
Dmitry.



More information about the wine-devel mailing list