advapi32/tests: Add acceptable error codes for Win7.

This commit is contained in:
Ge van Geldorp 2009-08-26 12:38:27 +02:00 committed by Alexandre Julliard
parent 52731a80c8
commit 8bd5619e72
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ static void test_CredWriteA(void)
ret = pCredWriteA(&new_cred, 0);
if (ret)
{
/* Vista */
ok(GetLastError() == ERROR_IO_PENDING,
ok(GetLastError() == ERROR_SUCCESS ||
GetLastError() == ERROR_IO_PENDING, /* Vista */
"Expected ERROR_IO_PENDING, got %d\n", GetLastError());
}
else