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
bfa2479d
Commit
bfa2479d
authored
Nov 17, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Fix some test failures on NT4.
parent
3912286a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
security.c
dlls/advapi32/tests/security.c
+6
-3
No files found.
dlls/advapi32/tests/security.c
View file @
bfa2479d
...
...
@@ -3301,7 +3301,8 @@ static void test_EqualSid(void)
SetLastError
(
0xdeadbeef
);
ret
=
EqualSid
(
sid1
,
sid2
);
ok
(
!
ret
,
"World and domain admins sids shouldn't have been equal
\n
"
);
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
ok
(
GetLastError
()
==
ERROR_SUCCESS
||
broken
(
GetLastError
()
==
0xdeadbeef
),
/* NT4 */
"EqualSid should have set last error to ERROR_SUCCESS instead of %d
\n
"
,
GetLastError
());
...
...
@@ -3319,7 +3320,8 @@ static void test_EqualSid(void)
SetLastError
(
0xdeadbeef
);
ret
=
EqualSid
(
sid1
,
sid2
);
ok
(
ret
,
"Same sids should have been equal
\n
"
);
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
ok
(
GetLastError
()
==
ERROR_SUCCESS
||
broken
(
GetLastError
()
==
0xdeadbeef
),
/* NT4 */
"EqualSid should have set last error to ERROR_SUCCESS instead of %d
\n
"
,
GetLastError
());
...
...
@@ -3327,7 +3329,8 @@ static void test_EqualSid(void)
SetLastError
(
0xdeadbeef
);
ret
=
EqualSid
(
sid1
,
sid2
);
ok
(
!
ret
,
"EqualSid with invalid sid should have returned FALSE
\n
"
);
ok
(
GetLastError
()
==
ERROR_SUCCESS
,
ok
(
GetLastError
()
==
ERROR_SUCCESS
||
broken
(
GetLastError
()
==
0xdeadbeef
),
/* NT4 */
"EqualSid should have set last error to ERROR_SUCCESS instead of %d
\n
"
,
GetLastError
());
((
SID
*
)
sid2
)
->
Revision
=
SID_REVISION
;
...
...
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