Commit be2b45ce authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll/tests: Fix some test failures on Windows.

parent 2f92af70
......@@ -681,10 +681,10 @@ static void test_query_processor_power_info(void)
ok( status == STATUS_BUFFER_TOO_SMALL, "Expected STATUS_BUFFER_TOO_SMALL, got %08x\n", status);
status = pNtPowerInformation(ProcessorInformation, 0, 0, 0, size);
ok( status == STATUS_INVALID_PARAMETER, "Expected STATUS_INVALID_PARAMETER, got %08x\n", status);
ok( status == STATUS_SUCCESS || status == STATUS_INVALID_PARAMETER, "Got %08x\n", status);
status = pNtPowerInformation(ProcessorInformation, 0, 0, ppi, 0);
ok( status == STATUS_INVALID_PARAMETER, "Expected STATUS_INVALID_PARAMETER, got %08x\n", status);
ok( status == STATUS_BUFFER_TOO_SMALL || status == STATUS_INVALID_PARAMETER, "Got %08x\n", status);
}
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment