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
dbd25cb3
Commit
dbd25cb3
authored
Feb 23, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Feb 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lz32/tests: For win9x, cBytes depends on the length of the filename.
parent
5b183a20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lzexpand_main.c
dlls/lz32/tests/lzexpand_main.c
+6
-6
No files found.
dlls/lz32/tests/lzexpand_main.c
View file @
dbd25cb3
...
...
@@ -231,7 +231,7 @@ static void test_LZOpenFileA_existing_compressed(void)
file
=
LZOpenFileA
(
_terminated
,
&
test
,
OF_EXIST
);
ok
(
file
>=
0
,
"LZOpenFileA failed on switching to a compressed file name
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95
*/
broken
(
test
.
cBytes
==
FIELD_OFFSET
(
OFSTRUCT
,
szPathName
)
+
lstrlenA
(
test
.
szPathName
)),
/* win9x
*/
"LZOpenFileA set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
0
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
@@ -390,7 +390,7 @@ static void test_LZOpenFileA(void)
file
=
LZOpenFileA
(
filename_
,
&
test
,
OF_READ
);
ok
(
file
>=
0
,
"LZOpenFileA failed on read
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95
*/
broken
(
test
.
cBytes
==
FIELD_OFFSET
(
OFSTRUCT
,
szPathName
)
+
lstrlenA
(
test
.
szPathName
)),
/* win9x
*/
"LZOpenFileA set test.cBytes to %d '%s'('%s')
\n
"
,
test
.
cBytes
,
expected
,
short_expected
);
ok
(
test
.
nErrCode
==
ERROR_SUCCESS
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
@@ -406,7 +406,7 @@ static void test_LZOpenFileA(void)
file
=
LZOpenFileA
(
filename_
,
&
test
,
OF_WRITE
);
ok
(
file
>=
0
,
"LZOpenFileA failed on write
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95
*/
broken
(
test
.
cBytes
==
FIELD_OFFSET
(
OFSTRUCT
,
szPathName
)
+
lstrlenA
(
test
.
szPathName
)),
/* win9x
*/
"LZOpenFileA set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
ERROR_SUCCESS
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
@@ -422,7 +422,7 @@ static void test_LZOpenFileA(void)
file
=
LZOpenFileA
(
filename_
,
&
test
,
OF_READWRITE
);
ok
(
file
>=
0
,
"LZOpenFileA failed on read/write
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95
*/
broken
(
test
.
cBytes
==
FIELD_OFFSET
(
OFSTRUCT
,
szPathName
)
+
lstrlenA
(
test
.
szPathName
)),
/* win9x
*/
"LZOpenFileA set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
ERROR_SUCCESS
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
@@ -438,7 +438,7 @@ static void test_LZOpenFileA(void)
file
=
LZOpenFileA
(
filename_
,
&
test
,
OF_EXIST
);
ok
(
file
>=
0
,
"LZOpenFileA failed on read/write
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95
*/
broken
(
test
.
cBytes
==
FIELD_OFFSET
(
OFSTRUCT
,
szPathName
)
+
lstrlenA
(
test
.
szPathName
)),
/* win9x
*/
"LZOpenFileA set test.cBytes to %d
\n
"
,
test
.
cBytes
);
ok
(
test
.
nErrCode
==
ERROR_SUCCESS
,
"LZOpenFileA set test.nErrCode to %d
\n
"
,
test
.
nErrCode
);
...
...
@@ -454,7 +454,7 @@ static void test_LZOpenFileA(void)
file
=
LZOpenFileA
(
filename_
,
&
test
,
OF_DELETE
);
ok
(
file
>=
0
,
"LZOpenFileA failed on delete
\n
"
);
ok
(
test
.
cBytes
==
sizeof
(
OFSTRUCT
)
||
broken
(
test
.
cBytes
==
40
),
/* win95
*/
broken
(
test
.
cBytes
==
FIELD_OFFSET
(
OFSTRUCT
,
szPathName
)
+
lstrlenA
(
test
.
szPathName
)),
/* win9x
*/
"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