[PATCH] schannel/tests: Relax GetInfo return value test
Alex Henrie
alexhenrie24 at gmail.com
Sun Feb 18 22:06:51 CST 2018
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
This test has failed on the Windows 8 and Windows 10 testbot VMs since
January 19, most likely because of some Windows update. I wasn't able to
figure out what the seemingly random return codes mean, but they're not
errors.
dlls/schannel/tests/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/schannel/tests/main.c b/dlls/schannel/tests/main.c
index fb350d5e62..fc913c14a9 100644
--- a/dlls/schannel/tests/main.c
+++ b/dlls/schannel/tests/main.c
@@ -219,11 +219,11 @@ static void testGetInfo(void)
return;
}
status = pTables->GetInfo(&PackageInfo);
- ok(status == STATUS_SUCCESS ||
+ ok(SUCCEEDED(status) ||
status == SEC_E_UNSUPPORTED_FUNCTION, /* win2k3 */
"status: 0x%x\n", status);
- if (status == STATUS_SUCCESS)
+ if (SUCCEEDED(status))
{
ok(PackageInfo.fCapabilities == LSA_BASE_CAPS ||
PackageInfo.fCapabilities == (LSA_BASE_CAPS|SECPKG_FLAG_APPCONTAINER_PASSTHROUGH),
--
2.16.1
More information about the wine-devel
mailing list