Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1cdf1cc0
Commit
1cdf1cc0
authored
Jan 15, 2010
by
Andrew Nguyen
Committed by
Alexandre Julliard
Jan 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Report appropriate skips for information tests.
parent
ab23f87b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
info.c
dlls/ntdll/tests/info.c
+4
-4
No files found.
dlls/ntdll/tests/info.c
View file @
1cdf1cc0
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment