ntdll/tests: Report appropriate skips for information tests.
This commit is contained in:
parent
ab23f87bcc
commit
1cdf1cc07e
|
@ -47,7 +47,7 @@ static BOOL InitFunctionPtrs(void)
|
|||
HMODULE hntdll = GetModuleHandle("ntdll");
|
||||
if (!hntdll)
|
||||
{
|
||||
skip("Not running on NT\n");
|
||||
win_skip("Not running on NT\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -290,7 +290,7 @@ static void test_query_process(void)
|
|||
|
||||
is_nt = ( spi->NextEntryOffset - (sbi.NumberOfProcessors * sizeof(SYSTEM_THREAD_INFORMATION)) == 136);
|
||||
|
||||
if (is_nt) skip("Windows version is NT, we will skip thread tests\n");
|
||||
if (is_nt) win_skip("Windows version is NT, we will skip thread tests\n");
|
||||
|
||||
/* Check if we have some return values
|
||||
*
|
||||
|
@ -666,7 +666,7 @@ static void test_query_process_io(void)
|
|||
status = pNtQueryInformationProcess( GetCurrentProcess(), ProcessIoCounters, &pii, sizeof(pii), &ReturnLength);
|
||||
if (status == STATUS_NOT_SUPPORTED)
|
||||
{
|
||||
skip("ProcessIoCounters information class is not supported\n");
|
||||
win_skip("ProcessIoCounters information class is not supported\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -809,7 +809,7 @@ static void test_query_process_image_file_name(void)
|
|||
status = pNtQueryInformationProcess(NULL, ProcessImageFileName, &image_file_name, sizeof(image_file_name), NULL);
|
||||
if (status == STATUS_INVALID_INFO_CLASS)
|
||||
{
|
||||
skip("ProcessImageFileName is not supported\n");
|
||||
win_skip("ProcessImageFileName is not supported\n");
|
||||
return;
|
||||
}
|
||||
ok( status == STATUS_INVALID_HANDLE, "Expected STATUS_INVALID_HANDLE, got %08x\n", status);
|
||||
|
|
Loading…
Reference in New Issue