From ae7213af9a317a7f93e70a01ae78d5092a641ae0 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 19 Aug 2016 09:41:01 +0000 Subject: [PATCH] [RPCRT4_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866 svn path=/trunk/; revision=72351 --- rostests/winetests/rpcrt4/ndr_marshall.c | 2 ++ rostests/winetests/rpcrt4/rpc.c | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/rostests/winetests/rpcrt4/ndr_marshall.c b/rostests/winetests/rpcrt4/ndr_marshall.c index aeecf8ca8c7..b71f07b8c99 100644 --- a/rostests/winetests/rpcrt4/ndr_marshall.c +++ b/rostests/winetests/rpcrt4/ndr_marshall.c @@ -2434,7 +2434,9 @@ static void test_MesEncodeFixedBufferHandleCreate(void) todo_wine ok(status == RPC_S_INVALID_ARG, "got %d\n", status); if (status == RPC_S_OK) +{ MesHandleFree(handle); +} status = MesEncodeFixedBufferHandleCreate(buffer, 32, NULL, &handle); ok(status == RPC_S_INVALID_ARG, "got %d\n", status); diff --git a/rostests/winetests/rpcrt4/rpc.c b/rostests/winetests/rpcrt4/rpc.c index d55a92535a3..5bebe37f3aa 100644 --- a/rostests/winetests/rpcrt4/rpc.c +++ b/rostests/winetests/rpcrt4/rpc.c @@ -909,6 +909,14 @@ static void test_RpcServerInqDefaultPrincName(void) HeapFree( GetProcessHeap(), 0, username ); } +static void test_RpcServerRegisterAuthInfo(void) +{ + RPC_STATUS status; + + status = RpcServerRegisterAuthInfoW(NULL, 600, NULL, NULL); + ok(status == RPC_S_UNKNOWN_AUTHN_SERVICE, "status = %x\n", status); +} + START_TEST( rpc ) { UuidConversionAndComparison(); @@ -923,4 +931,5 @@ START_TEST( rpc ) test_UuidCreateSequential(); test_RpcBindingFree(); test_RpcServerInqDefaultPrincName(); + test_RpcServerRegisterAuthInfo(); }