[1/2] schannel/tests: Fix test on win8
Hans Leidekker
hans at codeweavers.com
Thu Dec 6 06:09:04 CST 2012
On Thu, 2012-12-06 at 12:56 +0100, André Hentschel wrote:
> diff --git a/dlls/schannel/tests/main.c b/dlls/schannel/tests/main.c
> index b576848..9c28e8b 100644
> --- a/dlls/schannel/tests/main.c
> +++ b/dlls/schannel/tests/main.c
> @@ -179,8 +179,8 @@ static void testGetInfo(void)
> /* First package: Unified */
> status = pTables->GetInfo(&PackageInfo);
> ok(status == STATUS_SUCCESS, "status: 0x%x\n", status);
> - ok(PackageInfo.fCapabilities == 0x107b3, "fCapabilities: 0x%x\n",
> - PackageInfo.fCapabilities);
> + ok((PackageInfo.fCapabilities & ~SECPKG_FLAG_APPCONTAINER_PASSTHROUGH) == 0x107b3,
> + "fCapabilities: 0x%x\n", PackageInfo.fCapabilities);
> ok(PackageInfo.wVersion == 1, "wVersion: %d\n", PackageInfo.wVersion);
> ok(PackageInfo.wRPCID == 14, "wRPCID: %d\n", PackageInfo.wRPCID);
> ok(PackageInfo.cbMaxToken == 0x4000 ||
A nicer fix would be to use a disjunction of or-ed symbolic constants, just like
the negotiate test.
More information about the wine-devel
mailing list