Module: wine Branch: master Commit: 29cd79829c5c8ea32a5ce6a9c9fef6a48dab813c URL: https://gitlab.winehq.org/wine/wine/-/commit/29cd79829c5c8ea32a5ce6a9c9fef6a...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Mar 15 09:05:47 2023 +0100
ntdll/tests: Handle another possible status when SystemProcessorFeaturesInformation is not supported.
---
dlls/ntdll/tests/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c index 9a1e790e673..f500fc09092 100644 --- a/dlls/ntdll/tests/info.c +++ b/dlls/ntdll/tests/info.c @@ -377,7 +377,7 @@ static void test_query_cpu(void)
len = 0xdeadbeef; status = pNtQuerySystemInformation( SystemProcessorFeaturesInformation, &features, sizeof(features), &len ); - if (status != STATUS_NOT_SUPPORTED) + if (status != STATUS_NOT_SUPPORTED && status != STATUS_INVALID_INFO_CLASS) { ok( !status, "SystemProcessorFeaturesInformation failed %lx\n", status ); ok( len == sizeof(features), "wrong len %lu\n", len );