ntdll/tests: Handle another possible status when SystemProcessorFeaturesInformation is not supported.
This commit is contained in:
parent
7db5431699
commit
29cd79829c
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Add table
Reference in a new issue