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
a8c24d34
Commit
a8c24d34
authored
Jan 31, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix some test failures on Win9x and WinME.
parent
2bac661c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
profile.c
dlls/kernel32/tests/profile.c
+4
-1
No files found.
dlls/kernel32/tests/profile.c
View file @
a8c24d34
...
...
@@ -377,8 +377,11 @@ static void test_profile_existing(void)
ok
(
INVALID_HANDLE_VALUE
!=
h
,
"%d: CreateFile failed
\n
"
,
i
);
SetLastError
(
0xdeadbeef
);
ret
=
GetPrivateProfileStringA
(
SECTION
,
KEY
,
NULL
,
buffer
,
MAX_PATH
,
testfile2
);
/* Win9x and WinME returns 0 for all cases except the first one */
if
(
!
pe
[
i
].
read_error
)
ok
(
ret
,
"%d: GetPrivateProfileString failed with error %u
\n
"
,
i
,
GetLastError
()
);
ok
(
ret
||
broken
(
!
ret
&&
GetLastError
()
==
0xdeadbeef
),
/* Win9x, WinME */
"%d: GetPrivateProfileString failed with error %u
\n
"
,
i
,
GetLastError
()
);
else
ok
(
!
ret
,
"%d: GetPrivateProfileString succeeded
\n
"
,
i
);
CloseHandle
(
h
);
...
...
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