Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9111ef38
Commit
9111ef38
authored
Feb 03, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fsutil/tests: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
18100a15
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
programs/fsutil/tests/Makefile.in
+0
-1
fsutil.c
programs/fsutil/tests/fsutil.c
+3
-3
No files found.
programs/fsutil/tests/Makefile.in
View file @
9111ef38
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
fsutil.exe
IMPORTS
=
advapi32 user32
...
...
programs/fsutil/tests/fsutil.c
View file @
9111ef38
...
...
@@ -97,7 +97,7 @@ static void test_hardlink(void)
FILE_ATTRIBUTE_NORMAL
,
NULL
);
ok
(
hfile
!=
INVALID_HANDLE_VALUE
,
"failed to open the hardlink
\n
"
);
boolrc
=
GetFileInformationByHandle
(
hfile
,
&
info
);
ok
(
boolrc
,
"failed to get info about hardlink, error %#x
\n
"
,
GetLastError
());
ok
(
boolrc
,
"failed to get info about hardlink, error %#
l
x
\n
"
,
GetLastError
());
CloseHandle
(
hfile
);
ok
(
info
.
nNumberOfLinks
==
2
,
"our link is not a hardlink
\n
"
);
...
...
@@ -109,9 +109,9 @@ static void test_hardlink(void)
ok
(
rc
==
1
,
"fsutil didn't complain about nonexisting source file
\n
"
);
boolrc
=
DeleteFileA
(
"link"
);
ok
(
boolrc
,
"failed to delete the hardlink, error %#x
\n
"
,
GetLastError
());
ok
(
boolrc
,
"failed to delete the hardlink, error %#
l
x
\n
"
,
GetLastError
());
boolrc
=
DeleteFileA
(
"file"
);
ok
(
boolrc
,
"failed to delete the file, error %#x
\n
"
,
GetLastError
());
ok
(
boolrc
,
"failed to delete the file, error %#
l
x
\n
"
,
GetLastError
());
}
START_TEST
(
fsutil
)
...
...
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