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
95575938
Commit
95575938
authored
Oct 27, 2008
by
Austin English
Committed by
Alexandre Julliard
Oct 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: fix a couple failures on Vista.
parent
f4e0dec4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
security.c
dlls/advapi32/tests/security.c
+4
-4
No files found.
dlls/advapi32/tests/security.c
View file @
95575938
...
...
@@ -1319,8 +1319,8 @@ static void test_LookupAccountSid(void)
real_dom_sizeA
=
MAX_PATH
;
ret
=
LookupAccountSidA
(
"deepthought"
,
pUsersSid
,
accountA
,
&
real_acc_sizeA
,
domainA
,
&
real_dom_sizeA
,
&
use
);
ok
(
!
ret
,
"LookupAccountSidA() Expected FALSE got TRUE
\n
"
);
ok
(
GetLastError
()
==
RPC_S_SERVER_UNAVAILABLE
,
"LookupAccountSidA() Expected RPC_S_SERVER_UNAVAILABLE, got %u
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
RPC_S_SERVER_UNAVAILABLE
||
GetLastError
()
==
RPC_S_INVALID_NET_ADDR
/* Vista */
,
"LookupAccountSidA() Expected RPC_S_SERVER_UNAVAILABLE
or RPC_S_INVALID_NET_ADDR
, got %u
\n
"
,
GetLastError
());
/* native windows crashes if domainW or accountW is NULL */
...
...
@@ -1664,8 +1664,8 @@ static void test_LookupAccountName(void)
domain_size
=
0
;
ret
=
LookupAccountNameA
(
"deepthought"
,
NULL
,
NULL
,
&
sid_size
,
NULL
,
&
domain_size
,
&
sid_use
);
ok
(
!
ret
,
"Expected 0, got %d
\n
"
,
ret
);
ok
(
GetLastError
()
==
RPC_S_SERVER_UNAVAILABLE
,
"Expected RPC_S_SERVER_UNAVAILABLE, got %d
\n
"
,
GetLastError
());
ok
(
GetLastError
()
==
RPC_S_SERVER_UNAVAILABLE
||
GetLastError
()
==
RPC_S_INVALID_NET_ADDR
/* Vista */
,
"Expected RPC_S_SERVER_UNAVAILABLE
or RPC_S_INVALID_NET_ADDR
, got %d
\n
"
,
GetLastError
());
ok
(
sid_size
==
0
,
"Expected 0, got %d
\n
"
,
sid_size
);
ok
(
domain_size
==
0
,
"Expected 0, got %d
\n
"
,
domain_size
);
...
...
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