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
a85dc859
Commit
a85dc859
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 tests when the Unicode drive functions are not available.
parent
4f7f110c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drive.c
dlls/kernel32/tests/drive.c
+4
-4
No files found.
dlls/kernel32/tests/drive.c
View file @
a85dc859
...
...
@@ -62,9 +62,9 @@ static void test_GetDriveTypeW(void)
for
(
drive
[
0
]
=
'A'
;
drive
[
0
]
<=
'Z'
;
drive
[
0
]
++
)
{
type
=
GetDriveTypeW
(
drive
);
if
(
type
==
DRIVE_UNKNOWN
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
if
(
type
==
DRIVE_UNKNOWN
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
/* Must be Win9x which doesn't support the Unicode functions */
win_skip
(
"GetDriveTypeW is not available on Win9x
\n
"
);
return
;
}
ok
(
type
>
0
&&
type
<=
6
,
"not a valid drive %c: type %u
\n
"
,
drive
[
0
],
type
);
...
...
@@ -165,9 +165,9 @@ static void test_GetDiskFreeSpaceW(void)
static
const
WCHAR
unix_style_root_pathW
[]
=
{
'/'
,
0
};
ret
=
GetDiskFreeSpaceW
(
NULL
,
&
sectors_per_cluster
,
&
bytes_per_sector
,
&
free_clusters
,
&
total_clusters
);
if
(
ret
==
0
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
if
(
ret
==
0
&&
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
/* Must be Win9x which doesn't support the Unicode functions */
win_skip
(
"GetDiskFreeSpaceW is not available
\n
"
);
return
;
}
ok
(
ret
,
"GetDiskFreeSpaceW error %d
\n
"
,
GetLastError
());
...
...
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