1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

ntdll/tests: Handle another possible status when SystemProcessorFeaturesInformation is not supported.

This commit is contained in:
Alexandre Julliard 2023-03-15 09:05:47 +01:00
parent 7db5431699
commit 29cd79829c

View file

@ -377,7 +377,7 @@ static void test_query_cpu(void)
len = 0xdeadbeef; len = 0xdeadbeef;
status = pNtQuerySystemInformation( SystemProcessorFeaturesInformation, &features, sizeof(features), &len ); 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( !status, "SystemProcessorFeaturesInformation failed %lx\n", status );
ok( len == sizeof(features), "wrong len %lu\n", len ); ok( len == sizeof(features), "wrong len %lu\n", len );