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
e07e2ac3
Commit
e07e2ac3
authored
Nov 02, 2009
by
Jeremy White
Committed by
Alexandre Julliard
Nov 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Prevent test failure when computer name and user name are the same.
parent
808343fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
security.c
dlls/advapi32/tests/security.c
+2
-1
No files found.
dlls/advapi32/tests/security.c
View file @
e07e2ac3
...
...
@@ -2047,7 +2047,8 @@ static void test_LookupAccountName(void)
domain
=
HeapAlloc
(
GetProcessHeap
(),
0
,
domain_size
);
ret
=
LookupAccountNameA
(
NULL
,
computer_name
,
psid
,
&
sid_size
,
domain
,
&
domain_size
,
&
sid_use
);
ok
(
ret
,
"LookupAccountNameA failed: %d
\n
"
,
GetLastError
());
ok
(
sid_use
==
SidTypeDomain
,
"expected SidTypeDomain, got %d
\n
"
,
sid_use
);
ok
(
sid_use
==
SidTypeDomain
||
(
sid_use
==
SidTypeUser
&&
!
strcmp
(
computer_name
,
user_name
)),
"expected SidTypeDomain for %s, got %d
\n
"
,
computer_name
,
sid_use
);
HeapFree
(
GetProcessHeap
(),
0
,
domain
);
HeapFree
(
GetProcessHeap
(),
0
,
psid
);
}
...
...
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