Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
13be6a07
Commit
13be6a07
authored
Jan 16, 2014
by
Erich E. Hoover
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add a test for junction point advertisement.
Signed-off-by:
Erich E. Hoover
<
erich.e.hoover@gmail.com
>
parent
62957168
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
file.c
dlls/ntdll/tests/file.c
+5
-0
No files found.
dlls/ntdll/tests/file.c
View file @
13be6a07
...
...
@@ -5426,6 +5426,11 @@ static void test_reparse_points(void)
bret
=
DeviceIoControl
(
handle
,
FSCTL_SET_REPARSE_POINT
,
(
LPVOID
)
buffer
,
buffer_len
,
NULL
,
0
,
&
dwret
,
0
);
ok
(
bret
,
"Failed to create junction point! (0x%x)
\n
"
,
GetLastError
());
/* Check the file attributes of the junction point */
dwret
=
GetFileAttributesW
(
reparse_path
);
ok
(
dwret
!=
(
DWORD
)
~
0
,
"Junction point doesn't exist (attributes: 0x%x)!
\n
"
,
dwret
);
ok
(
dwret
&
FILE_ATTRIBUTE_REPARSE_POINT
,
"File is not a junction point! (attributes: %d)
\n
"
,
dwret
);
/* Read back the junction point */
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
buffer_len
=
sizeof
(
*
buffer
)
+
MAX_PATH
*
sizeof
(
WCHAR
);
...
...
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