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
864e24d2
Commit
864e24d2
authored
May 07, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
May 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Fix temporary path test.
parent
db8e63af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
path.c
dlls/kernel32/tests/path.c
+2
-1
No files found.
dlls/kernel32/tests/path.c
View file @
864e24d2
...
...
@@ -1202,13 +1202,14 @@ static void test_drive_letter_case(void)
ok
(
buf
[
1
]
==
':'
,
"expected buf[1] == ':' got %c
\n
"
,
buf
[
1
]);
ok
(
is_upper_case_letter
(
buf
[
0
]),
"expected buf[0] upper case letter got %c
\n
"
,
buf
[
0
]);
/* TEMP is an environment variable, so it can't be tested for case-sensitivity */
memset
(
buf
,
0
,
sizeof
(
buf
));
SetLastError
(
0xdeadbeef
);
ret
=
GetTempPath
(
sizeof
(
buf
),
buf
);
ok
(
ret
,
"GetTempPath error %u
\n
"
,
GetLastError
());
ok
(
ret
<
sizeof
(
buf
),
"buffer should be %u bytes
\n
"
,
ret
);
ok
(
buf
[
1
]
==
':'
,
"expected buf[1] == ':' got %c
\n
"
,
buf
[
1
]);
ok
(
is_upper_case_letter
(
buf
[
0
]),
"expected buf[0] upper case letter got %c
\n
"
,
buf
[
0
]
);
ok
(
buf
[
strlen
(
buf
)
-
1
]
==
'\\'
,
"Temporary path (%s) doesn't end in a slash
\n
"
,
buf
);
memset
(
buf
,
0
,
sizeof
(
buf
));
SetLastError
(
0xdeadbeef
);
...
...
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