Alexandre Julliard : kernel32/tests: Fix pipe test on w2k3.
Alexandre Julliard
julliard at winehq.org
Mon Nov 17 09:14:18 CST 2008
Module: wine
Branch: master
Commit: 61ea936d68b8d7de604b891166145ef5ffd83b67
URL: http://source.winehq.org/git/wine.git/?a=commit;h=61ea936d68b8d7de604b891166145ef5ffd83b67
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Nov 17 13:16:26 2008 +0100
kernel32/tests: Fix pipe test on w2k3.
---
dlls/kernel32/tests/pipe.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/kernel32/tests/pipe.c b/dlls/kernel32/tests/pipe.c
index e6a57bf..a68a813 100644
--- a/dlls/kernel32/tests/pipe.c
+++ b/dlls/kernel32/tests/pipe.c
@@ -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);
More information about the wine-cvs
mailing list