Paul Vriens : rpcrt4/tests: Skip more tests on Win9x/WinMe.
Alexandre Julliard
julliard at winehq.org
Wed Dec 16 09:41:34 CST 2009
Module: wine
Branch: master
Commit: 876c3c352bc8874af598513a97aae6616d6cb94d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=876c3c352bc8874af598513a97aae6616d6cb94d
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Wed Dec 16 09:09:01 2009 +0100
rpcrt4/tests: Skip more tests on Win9x/WinMe.
---
dlls/rpcrt4/tests/server.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/rpcrt4/tests/server.c b/dlls/rpcrt4/tests/server.c
index f55bfcf..693fe69 100644
--- a/dlls/rpcrt4/tests/server.c
+++ b/dlls/rpcrt4/tests/server.c
@@ -1338,6 +1338,11 @@ s_authinfo_test(unsigned int protseq, int secure)
if (secure || protseq == RPC_PROTSEQ_LRPC)
{
status = RpcBindingInqAuthClientA(binding, &privs, &principal, &level, &authnsvc, NULL);
+ if (status == RPC_S_CANNOT_SUPPORT)
+ {
+ win_skip("RpcBindingInqAuthClientA not supported\n");
+ return;
+ }
ok(status == RPC_S_OK, "expected RPC_S_OK got %u\n", status);
ok(privs != (RPC_AUTHZ_HANDLE)0xdeadbeef, "privs unchanged\n");
ok(principal != (unsigned char *)0xdeadbeef, "principal unchanged\n");
@@ -1362,11 +1367,6 @@ s_authinfo_test(unsigned int protseq, int secure)
ok(authnsvc == RPC_C_AUTHN_WINNT, "authnsvc unchanged\n");
status = RpcImpersonateClient(NULL);
- if (status == RPC_S_CANNOT_SUPPORT)
- {
- win_skip("RpcImpersonateClient not supported\n");
- return;
- }
ok(status == RPC_S_OK, "expected RPC_S_OK got %u\n", status);
status = RpcRevertToSelf();
ok(status == RPC_S_OK, "expected RPC_S_OK got %u\n", status);
More information about the wine-cvs
mailing list