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
c4aa0737
Commit
c4aa0737
authored
Nov 12, 2002
by
Ryan Cumming
Committed by
Alexandre Julliard
Nov 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for DeleteFileA with empty paths.
parent
9398d9c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
file.c
dlls/kernel/tests/file.c
+9
-0
No files found.
dlls/kernel/tests/file.c
View file @
c4aa0737
...
...
@@ -571,6 +571,14 @@ void test_CreateFileW(void)
ok
(
ret
,
"DeleteFileW: error %ld
\n
"
,
GetLastError
());
}
static
void
test_DeleteFileA
(
void
)
{
BOOL
ret
;
ret
=
DeleteFileA
(
""
);
ok
((
!
ret
)
&&
(
GetLastError
()
==
ERROR_FILE_NOT_FOUND
),
"DeleteFile should fail with an empty path, and last error value should be ERROR_FILE_NOT_FOUND"
);
}
#define PATTERN_OFFSET 0x10
void
test_offset_in_overlapped_structure
(
void
)
...
...
@@ -648,5 +656,6 @@ START_TEST(file)
test_CopyFileW
();
test_CreateFileA
();
test_CreateFileW
();
test_DeleteFileA
();
test_offset_in_overlapped_structure
();
}
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