kernel32/tests: Fix pipe test on w2k3.
This commit is contained in:
parent
3c533397e9
commit
61ea936d68
|
@ -955,10 +955,7 @@ static void test_ImpersonateNamedPipeClient(HANDLE hClientToken, DWORD security_
|
|||
SetLastError(0xdeadbeef);
|
||||
ret = ImpersonateNamedPipeClient(hPipeServer);
|
||||
error = GetLastError();
|
||||
todo_wine
|
||||
ok(!ret &&
|
||||
(error == ERROR_CANNOT_IMPERSONATE ||
|
||||
error == 0xdeadbeef), /* win2k3 */
|
||||
ok(ret /* win2k3 */ || (error == ERROR_CANNOT_IMPERSONATE),
|
||||
"ImpersonateNamedPipeClient should have failed with ERROR_CANNOT_IMPERSONATE instead of %d\n", GetLastError());
|
||||
|
||||
ret = ConnectNamedPipe(hPipeServer, NULL);
|
||||
|
|
Loading…
Reference in New Issue