mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 19:53:22 +00:00
sync advapi32 winetest to wine 1.1.31
svn path=/trunk/; revision=43556
This commit is contained in:
parent
58a1fb8784
commit
c3565096d4
6 changed files with 233 additions and 76 deletions
|
@ -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
|
||||
|
@ -154,12 +154,13 @@ static void test_CredReadDomainCredentialsA(void)
|
|||
|
||||
/* these two tests would crash on both native and Wine. Implementations
|
||||
* does not check for NULL output pointers and try to zero them out early */
|
||||
#if 0
|
||||
if(0)
|
||||
{
|
||||
ok(!pCredReadDomainCredentialsA(&info, 0, NULL, &creds) &&
|
||||
GetLastError() == ERROR_INVALID_PARAMETER, "!\n");
|
||||
ok(!pCredReadDomainCredentialsA(&info, 0, &count, NULL) &&
|
||||
GetLastError() == ERROR_INVALID_PARAMETER, "!\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = pCredReadDomainCredentialsA(NULL, 0, &count, &creds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue