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
fda79ef2
Commit
fda79ef2
authored
May 18, 2009
by
Andrew Nguyen
Committed by
Alexandre Julliard
May 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Correctly skip when GetTempPathW is not available.
parent
1e74b21f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
path.c
dlls/kernel32/tests/path.c
+4
-1
No files found.
dlls/kernel32/tests/path.c
View file @
fda79ef2
...
...
@@ -878,8 +878,11 @@ static void test_GetTempPathW(char* tmp_dir)
lstrcpyW
(
buf
,
fooW
);
len
=
GetTempPathW
(
MAX_PATH
,
buf
);
if
(
len
==
0
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
if
(
len
==
0
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
win_skip
(
"GetTempPathW is not available
\n
"
);
return
;
}
ok
(
lstrcmpiW
(
buf
,
tmp_dirW
)
==
0
,
"GetTempPathW returned an incorrect temporary path
\n
"
);
ok
(
len
==
lstrlenW
(
buf
),
"returned length should be equal to the length of string
\n
"
);
...
...
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