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
f8ee8790
Commit
f8ee8790
authored
Feb 01, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Feb 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix test_user_shared_data() for a more generic set of present features.
parent
50bfe009
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
virtual.c
dlls/ntdll/tests/virtual.c
+5
-4
No files found.
dlls/ntdll/tests/virtual.c
View file @
f8ee8790
...
...
@@ -2007,18 +2007,19 @@ static void test_user_shared_data(void)
return
;
}
trace
(
"XState EnabledFeatures %s.
\n
"
,
wine_dbgstr_longlong
(
xstate
.
EnabledFeatures
));
trace
(
"XState EnabledFeatures %#I64x, EnabledSupervisorFeatures %#I64x, EnabledVolatileFeatures %I64x.
\n
"
,
xstate
.
EnabledFeatures
,
xstate
.
EnabledSupervisorFeatures
,
xstate
.
EnabledVolatileFeatures
);
feature_mask
=
pRtlGetEnabledExtendedFeatures
(
0
);
ok
(
!
feature_mask
,
"Got unexpected feature_mask %s.
\n
"
,
wine_dbgstr_longlong
(
feature_mask
));
feature_mask
=
pRtlGetEnabledExtendedFeatures
(
~
(
ULONG64
)
0
);
ok
(
feature_mask
==
xstate
.
EnabledFeatures
,
"Got unexpected feature_mask %s.
\n
"
,
ok
(
feature_mask
==
(
xstate
.
EnabledFeatures
|
xstate
.
EnabledSupervisorFeatures
)
,
"Got unexpected feature_mask %s.
\n
"
,
wine_dbgstr_longlong
(
feature_mask
));
feature_mask
=
pGetEnabledXStateFeatures
();
ok
(
feature_mask
==
xstate
.
EnabledFeatures
,
"Got unexpected feature_mask %s.
\n
"
,
ok
(
feature_mask
==
(
xstate
.
EnabledFeatures
|
xstate
.
EnabledSupervisorFeatures
)
,
"Got unexpected feature_mask %s.
\n
"
,
wine_dbgstr_longlong
(
feature_mask
));
ok
((
xstate
.
EnabledFeatures
&
SUPPORTED_XSTATE_FEATURES
)
==
SUPPORTED_XSTATE_FEATURES
,
"Got unexpected EnabledFeatures %s.
\n
"
,
wine_dbgstr_longlong
(
xstate
.
EnabledFeatures
));
ok
((
xstate
.
EnabledVolatileFeatures
&
SUPPORTED_XSTATE_FEATURES
)
==
xstate
.
EnabledFeatures
,
ok
((
xstate
.
EnabledVolatileFeatures
&
SUPPORTED_XSTATE_FEATURES
)
==
(
xstate
.
EnabledFeatures
&
SUPPORTED_XSTATE_FEATURES
)
,
"Got unexpected EnabledVolatileFeatures %s.
\n
"
,
wine_dbgstr_longlong
(
xstate
.
EnabledVolatileFeatures
));
ok
(
xstate
.
Size
>=
512
+
sizeof
(
XSTATE
),
"Got unexpected Size %lu.
\n
"
,
xstate
.
Size
);
if
(
xstate
.
CompactionEnabled
)
...
...
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