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
767c09f1
Commit
767c09f1
authored
Dec 31, 2013
by
Zhenbo Li
Committed by
Alexandre Julliard
Jan 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Add one more test for FindFirstFileA.
parent
6e373aa6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
file.c
dlls/kernel32/tests/file.c
+8
-0
No files found.
dlls/kernel32/tests/file.c
View file @
767c09f1
...
...
@@ -2430,6 +2430,14 @@ static void test_FindFirstFileA(void)
ok
(
err
==
ERROR_PATH_NOT_FOUND
,
"Bad Error number %d
\n
"
,
err
);
}
/* try FindFirstFileA without trailing backslash */
SetLastError
(
0xdeadbeaf
);
strcpy
(
buffer2
,
nonexistent
);
handle
=
FindFirstFileA
(
buffer2
,
&
data
);
err
=
GetLastError
();
ok
(
handle
==
INVALID_HANDLE_VALUE
,
"FindFirstFile on %s should Fail
\n
"
,
buffer2
);
ok
(
err
==
ERROR_FILE_NOT_FOUND
,
"Bad Error number %d
\n
"
,
err
);
/* try FindFirstFileA on "C:\foo\bar.txt" */
SetLastError
(
0xdeadbeaf
);
strcpy
(
buffer2
,
nonexistent
);
...
...
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