[PATCH v2 1/3] kernel32/tests: Fix GetLastError() checks in environment tests.
Alexandre Julliard
julliard at winehq.org
Tue Jan 21 15:02:03 CST 2020
Vladimir Panteleev <git at vladimir.panteleev.md> writes:
> @@ -255,25 +260,31 @@ static void test_GetSetEnvironmentVariableW(void)
> ok(ret == TRUE, "should not fail with empty value but GetLastError=%d\n", GetLastError());
>
> lstrcpyW(buf, fooW);
> + SetLastError(0);
You should probably use 0xdeadbeef here (and also in the A test that
this was copied from).
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list