oleaut32/tests: Skip a test that may crash on Win64.

This commit is contained in:
Alexandre Julliard 2009-10-08 22:45:40 +02:00
parent f901f63bc6
commit 4c184a8b88
1 changed files with 5 additions and 2 deletions

View File

@ -5249,8 +5249,11 @@ static void test_SysAllocStringByteLen(void)
const CHAR szTestA[6] = { 'T','e','s','t','\0','?' };
BSTR str;
str = SysAllocStringByteLen(szTestA, 0x80000000);
ok (str == NULL, "Expected NULL, got %p\n", str);
if (sizeof(void *) == 4) /* not limited to 0x80000000 on Win64 */
{
str = SysAllocStringByteLen(szTestA, 0x80000000);
ok (str == NULL, "Expected NULL, got %p\n", str);
}
str = SysAllocStringByteLen(szTestA, 0xffffffff);
ok (str == NULL, "Expected NULL, got %p\n", str);