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
2c1b94bd
Commit
2c1b94bd
authored
Jun 01, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4/tests: Fix a few more broken tests on NT4.
parent
fca0d3c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
ndr_marshall.c
dlls/rpcrt4/tests/ndr_marshall.c
+11
-5
No files found.
dlls/rpcrt4/tests/ndr_marshall.c
View file @
2c1b94bd
...
...
@@ -1444,7 +1444,8 @@ static void test_conformant_array(void)
mem
=
NULL
;
StubMsg
.
Buffer
=
StubMsg
.
BufferStart
;
NdrConformantArrayUnmarshall
(
&
StubMsg
,
&
mem
,
fmtstr_conf_array
,
0
);
ok
(
mem
==
StubMsg
.
BufferStart
+
4
,
"mem not pointing at buffer
\n
"
);
ok
(
mem
==
StubMsg
.
BufferStart
+
4
||
broken
(
!
mem
),
/* win9x, nt4 */
"mem not pointing at buffer %p/%p
\n
"
,
mem
,
StubMsg
.
BufferStart
+
4
);
ok
(
my_alloc_called
==
0
,
"alloc called %d
\n
"
,
my_alloc_called
);
my_alloc_called
=
0
;
mem
=
NULL
;
...
...
@@ -1493,6 +1494,7 @@ static void test_conformant_string(void)
StubDesc
=
Object_StubDesc
;
StubDesc
.
pFormatTypes
=
fmtstr_conf_str
;
memset
(
&
StubMsg
,
0
,
sizeof
(
StubMsg
)
);
/* needed on win9x and nt4 */
NdrClientInitializeNew
(
&
RpcMessage
,
&
StubMsg
,
...
...
@@ -1553,7 +1555,8 @@ todo_wine {
mem
=
NULL
;
StubMsg
.
Buffer
=
StubMsg
.
BufferStart
;
NdrPointerUnmarshall
(
&
StubMsg
,
&
mem
,
fmtstr_conf_str
,
0
);
ok
(
mem
==
StubMsg
.
BufferStart
+
12
,
"mem not pointing at buffer
\n
"
);
ok
(
mem
==
StubMsg
.
BufferStart
+
12
||
broken
(
!
mem
),
/* win9x, nt4 */
"mem not pointing at buffer %p/%p
\n
"
,
mem
,
StubMsg
.
BufferStart
+
12
);
ok
(
my_alloc_called
==
0
,
"alloc called %d
\n
"
,
my_alloc_called
);
my_alloc_called
=
0
;
...
...
@@ -1561,7 +1564,8 @@ todo_wine {
StubMsg
.
Buffer
=
StubMsg
.
BufferStart
;
NdrPointerUnmarshall
(
&
StubMsg
,
&
mem
,
fmtstr_conf_str
,
1
);
todo_wine
{
ok
(
mem
==
StubMsg
.
BufferStart
+
12
,
"mem not pointing at buffer
\n
"
);
ok
(
mem
==
StubMsg
.
BufferStart
+
12
||
broken
(
!
mem
),
/* win9x, nt4 */
"mem not pointing at buffer %p/%p
\n
"
,
mem
,
StubMsg
.
BufferStart
+
12
);
ok
(
my_alloc_called
==
0
,
"alloc called %d
\n
"
,
my_alloc_called
);
}
...
...
@@ -1569,7 +1573,8 @@ todo_wine {
mem
=
mem_orig
;
StubMsg
.
Buffer
=
StubMsg
.
BufferStart
;
NdrPointerUnmarshall
(
&
StubMsg
,
&
mem
,
fmtstr_conf_str
,
0
);
ok
(
mem
==
StubMsg
.
BufferStart
+
12
,
"mem not pointing at buffer
\n
"
);
ok
(
mem
==
StubMsg
.
BufferStart
+
12
||
broken
(
!
mem
),
/* win9x, nt4 */
"mem not pointing at buffer %p/%p
\n
"
,
mem
,
StubMsg
.
BufferStart
+
12
);
ok
(
my_alloc_called
==
0
,
"alloc called %d
\n
"
,
my_alloc_called
);
my_alloc_called
=
0
;
...
...
@@ -1577,7 +1582,8 @@ todo_wine {
StubMsg
.
Buffer
=
StubMsg
.
BufferStart
;
NdrPointerUnmarshall
(
&
StubMsg
,
&
mem
,
fmtstr_conf_str
,
1
);
todo_wine
{
ok
(
mem
==
StubMsg
.
BufferStart
+
12
,
"mem not pointing at buffer
\n
"
);
ok
(
mem
==
StubMsg
.
BufferStart
+
12
||
broken
(
!
mem
),
/* win9x, nt4 */
"mem not pointing at buffer %p/%p
\n
"
,
mem
,
StubMsg
.
BufferStart
+
12
);
ok
(
my_alloc_called
==
0
,
"alloc called %d
\n
"
,
my_alloc_called
);
}
...
...
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