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
29e0178c
Commit
29e0178c
authored
Jan 20, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix a test failure on restricted Windows.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
59ed8c59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
om.c
dlls/ntdll/tests/om.c
+7
-3
No files found.
dlls/ntdll/tests/om.c
View file @
29e0178c
...
...
@@ -516,9 +516,13 @@ static void test_name_limits(void)
}
str
.
Length
=
sizeof
(
registryW
)
+
256
*
sizeof
(
WCHAR
);
status
=
pNtCreateKey
(
&
ret
,
GENERIC_ALL
,
&
attr
,
0
,
NULL
,
0
,
NULL
);
ok
(
status
==
STATUS_SUCCESS
,
"%u: NtCreateKey failed %x
\n
"
,
str
.
Length
,
status
);
pNtDeleteKey
(
ret
);
pNtClose
(
ret
);
ok
(
status
==
STATUS_SUCCESS
||
status
==
STATUS_ACCESS_DENIED
,
"%u: NtCreateKey failed %x
\n
"
,
str
.
Length
,
status
);
if
(
!
status
)
{
pNtDeleteKey
(
ret
);
pNtClose
(
ret
);
}
str
.
Length
++
;
status
=
pNtCreateKey
(
&
ret
,
GENERIC_ALL
,
&
attr
,
0
,
NULL
,
0
,
NULL
);
ok
(
status
==
STATUS_OBJECT_NAME_INVALID
||
...
...
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