Commit b0f7dcdf authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

kernel32/tests: Skip some tests on win95.

parent c885d053
......@@ -152,7 +152,13 @@ static void test_overlapped_buffers(void)
char buf[256];
int ret;
SetLastError(0xdeadbeef);
lstrcpyW((WCHAR *)(buf + 1), strW);
if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
skip("lstrcypW is not implemented\n");
return;
}
ret = WideCharToMultiByte(CP_ACP, 0, (WCHAR *)(buf + 1), -1, buf, sizeof(buf), NULL, NULL);
ok(ret == sizeof(strA), "unexpected ret %d\n", ret);
ok(!memcmp(buf, strA, sizeof(strA)), "conversion failed: %s\n", buf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment