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
138f1197
Commit
138f1197
authored
Feb 11, 2013
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4/tests: Trace the GUID when it is wrong.
parent
c2a5b04d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
rpc.c
dlls/rpcrt4/tests/rpc.c
+7
-3
No files found.
dlls/rpcrt4/tests/rpc.c
View file @
138f1197
...
...
@@ -814,6 +814,7 @@ static void test_UuidCreateSequential(void)
if
(
version
==
1
)
{
UUID
guid2
;
char
buf
[
39
];
if
(
!
ret
)
{
...
...
@@ -821,7 +822,8 @@ static void test_UuidCreateSequential(void)
* address in the uuid:
*/
ok
(
!
(
guid1
.
Data4
[
2
]
&
0x01
),
"GUID does not appear to contain a MAC address
\n
"
);
"GUID does not appear to contain a MAC address: %s
\n
"
,
printGuid
(
buf
,
sizeof
(
buf
),
&
guid1
));
}
else
{
...
...
@@ -829,7 +831,8 @@ static void test_UuidCreateSequential(void)
* address in the uuid:
*/
ok
((
guid1
.
Data4
[
2
]
&
0x01
),
"GUID does not appear to contain a multicast MAC address
\n
"
);
"GUID does not appear to contain a multicast MAC address: %s
\n
"
,
printGuid
(
buf
,
sizeof
(
buf
),
&
guid1
));
}
/* Generate another GUID, and make sure its MAC address matches the
* first.
...
...
@@ -840,7 +843,8 @@ static void test_UuidCreateSequential(void)
version
=
(
guid2
.
Data3
&
0xf000
)
>>
12
;
ok
(
version
==
1
,
"unexpected version %d
\n
"
,
version
);
ok
(
!
memcmp
(
guid1
.
Data4
,
guid2
.
Data4
,
sizeof
(
guid2
.
Data4
)),
"unexpected value in MAC address
\n
"
);
"unexpected value in MAC address: %s
\n
"
,
printGuid
(
buf
,
sizeof
(
buf
),
&
guid2
));
}
}
...
...
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