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);
|
SetLastError(0xdeadbeef);
|
||||||
ret = ImpersonateNamedPipeClient(hPipeServer);
|
ret = ImpersonateNamedPipeClient(hPipeServer);
|
||||||
error = GetLastError();
|
error = GetLastError();
|
||||||
todo_wine
|
ok(ret /* win2k3 */ || (error == ERROR_CANNOT_IMPERSONATE),
|
||||||
ok(!ret &&
|
|
||||||
(error == ERROR_CANNOT_IMPERSONATE ||
|
|
||||||
error == 0xdeadbeef), /* win2k3 */
|
|
||||||
"ImpersonateNamedPipeClient should have failed with ERROR_CANNOT_IMPERSONATE instead of %d\n", GetLastError());
|
"ImpersonateNamedPipeClient should have failed with ERROR_CANNOT_IMPERSONATE instead of %d\n", GetLastError());
|
||||||
|
|
||||||
ret = ConnectNamedPipe(hPipeServer, NULL);
|
ret = ConnectNamedPipe(hPipeServer, NULL);
|
||||||
|
|
Loading…
Reference in New Issue