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
f8b8478f
Commit
f8b8478f
authored
Nov 13, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Fix a couple of test failures on Win9x and NT4.
parent
4bff9126
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
storage32.c
dlls/ole32/tests/storage32.c
+4
-2
No files found.
dlls/ole32/tests/storage32.c
View file @
f8b8478f
...
...
@@ -262,7 +262,8 @@ static void test_storage_stream(void)
r
=
IStorage_CreateStream
(
stg
,
NULL
,
STGM_SHARE_EXCLUSIVE
|
STGM_READWRITE
,
0
,
0
,
&
stm
);
ok
(
r
==
STG_E_INVALIDNAME
,
"IStorage->CreateStream wrong error
\n
"
);
r
=
IStorage_CreateStream
(
stg
,
longname
,
STGM_SHARE_EXCLUSIVE
|
STGM_READWRITE
,
0
,
0
,
&
stm
);
ok
(
r
==
STG_E_INVALIDNAME
,
"IStorage->CreateStream wrong error, got %d GetLastError()=%d
\n
"
,
r
,
GetLastError
());
ok
(
r
==
STG_E_INVALIDNAME
||
broken
(
r
==
S_OK
)
/* nt4 */
,
"IStorage->CreateStream wrong error, got %d GetLastError()=%d
\n
"
,
r
,
GetLastError
());
r
=
IStorage_CreateStream
(
stg
,
stmname
,
STGM_READWRITE
,
0
,
0
,
&
stm
);
ok
(
r
==
STG_E_INVALIDFLAG
,
"IStorage->CreateStream wrong error
\n
"
);
r
=
IStorage_CreateStream
(
stg
,
stmname
,
STGM_READ
,
0
,
0
,
&
stm
);
...
...
@@ -1100,7 +1101,8 @@ static void _test_file_access(LPCSTR file, const struct access_res *ares, DWORD
line
,
idx
,
ares
[
idx
].
gothandle
,
(
hfile
!=
INVALID_HANDLE_VALUE
));
ok
(
lasterr
==
ares
[
idx
].
lasterr
,
ok
(
lasterr
==
ares
[
idx
].
lasterr
||
broken
(
lasterr
==
0xdeadbeef
)
/* win9x */
,
"(%d, lasterr, %d): Expected %d, got %d
\n
"
,
line
,
idx
,
ares
[
idx
].
lasterr
,
lasterr
);
...
...
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