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
77f61567
Commit
77f61567
authored
Aug 28, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Aug 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lz32: Fix several failing tests in win95.
parent
7d7d7992
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
lzexpand_main.c
dlls/lz32/tests/lzexpand_main.c
+12
-6
No files found.
dlls/lz32/tests/lzexpand_main.c
View file @
77f61567
...
...
@@ -230,7 +230,8 @@ static void test_LZOpenFileA_existing_compressed(void)
/* d, using underscore-terminated file name. */
file
=
LZOpenFileA
(
_terminated
,
&
test
,
OF_EXIST
);
ok
(
file
>=
0
,
"LZOpenFileA failed on switching to a compressed file name
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
),
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95 */
"LZOpenFileA set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
0
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
@@ -388,7 +389,8 @@ static void test_LZOpenFileA(void)
/* a, for reading. */
file
=
LZOpenFileA
(
filename_
,
&
test
,
OF_READ
);
ok
(
file
>=
0
,
"LZOpenFileA failed on read
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
),
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95 */
"LZOpenFileA set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
ERROR_SUCCESS
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
@@ -403,7 +405,8 @@ static void test_LZOpenFileA(void)
/* b, for writing. */
file
=
LZOpenFileA
(
filename_
,
&
test
,
OF_WRITE
);
ok
(
file
>=
0
,
"LZOpenFileA failed on write
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
),
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95 */
"LZOpenFileA set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
ERROR_SUCCESS
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
@@ -418,7 +421,8 @@ static void test_LZOpenFileA(void)
/* c, for reading and writing. */
file
=
LZOpenFileA
(
filename_
,
&
test
,
OF_READWRITE
);
ok
(
file
>=
0
,
"LZOpenFileA failed on read/write
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
),
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95 */
"LZOpenFileA set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
ERROR_SUCCESS
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
@@ -433,7 +437,8 @@ static void test_LZOpenFileA(void)
/* d, for checking file existence. */
file
=
LZOpenFileA
(
filename_
,
&
test
,
OF_EXIST
);
ok
(
file
>=
0
,
"LZOpenFileA failed on read/write
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
),
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95 */
"LZOpenFileA set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
ERROR_SUCCESS
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
@@ -448,7 +453,8 @@ static void test_LZOpenFileA(void)
/* Delete the file then make sure it doesn't exist anymore. */
file
=
LZOpenFileA
(
filename_
,
&
test
,
OF_DELETE
);
ok
(
file
>=
0
,
"LZOpenFileA failed on delete
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
),
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95 */
"LZOpenFileA set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
ERROR_SUCCESS
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
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