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
de1eaee4
Commit
de1eaee4
authored
Jul 16, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix a copy-paste error.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2a539470
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
om.c
dlls/ntdll/tests/om.c
+3
-3
No files found.
dlls/ntdll/tests/om.c
View file @
de1eaee4
...
...
@@ -1040,7 +1040,7 @@ static void test_directory(void)
pNtClose
(
h
);
InitializeObjectAttributes
(
&
attr
,
&
str
,
0
,
dir
,
NULL
);
RtlInitUnicodeString
(
&
str
,
L"one more level"
);
status
=
pNtCreateDirectoryObject
(
&
dir
,
DIRECTORY_QUERY
,
&
attr
);
status
=
pNtCreateDirectoryObject
(
&
h
,
DIRECTORY_QUERY
,
&
attr
);
ok
(
status
==
STATUS_SUCCESS
,
"Failed to create directory %08x
\n
"
,
status
);
pNtClose
(
h
);
pNtClose
(
dir
);
...
...
@@ -1157,9 +1157,9 @@ static void test_symboliclink(void)
RtlInitUnicodeString
(
&
str
,
L"
\\
BaseNamedObjects
\\
om.c-test
\\
"
);
status
=
pNtCreateSymbolicLinkObject
(
&
h
,
SYMBOLIC_LINK_QUERY
,
&
attr
,
&
target
);
ok
(
status
==
STATUS_OBJECT_
NAME_INVALI
D
,
"got %#x
\n
"
,
status
);
ok
(
status
==
STATUS_OBJECT_
PATH_NOT_FOUN
D
,
"got %#x
\n
"
,
status
);
status
=
pNtOpenSymbolicLinkObject
(
&
h
,
SYMBOLIC_LINK_QUERY
,
&
attr
);
ok
(
status
==
STATUS_OBJECT_
NAME_INVALI
D
,
"got %#x
\n
"
,
status
);
ok
(
status
==
STATUS_OBJECT_
PATH_NOT_FOUN
D
,
"got %#x
\n
"
,
status
);
/* Compound test */
dir
=
get_base_dir
();
...
...
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