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
70bb6551
Commit
70bb6551
authored
Oct 17, 2019
by
Gijs Vermeulen
Committed by
Alexandre Julliard
Oct 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Fix test_process_security with non-English locale.
Signed-off-by:
Gijs Vermeulen
<
gijsvrm@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
170ab94b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
security.c
dlls/advapi32/tests/security.c
+4
-1
No files found.
dlls/advapi32/tests/security.c
View file @
70bb6551
...
...
@@ -3004,7 +3004,10 @@ static void test_process_security(void)
ret
=
LookupAccountSidA
(
NULL
,
UsersSid
,
account
,
&
acc_size
,
domain
,
&
dom_size
,
&
use
);
ok
(
ret
,
"LookupAccountSid failed with %d
\n
"
,
ret
);
todo_wine
ok
(
use
==
SidTypeGroup
,
"expect SidTypeGroup, got %d
\n
"
,
use
);
todo_wine
ok
(
!
strcmp
(
account
,
"None"
),
"expect None, got %s
\n
"
,
account
);
if
(
PRIMARYLANGID
(
GetSystemDefaultLangID
())
!=
LANG_ENGLISH
)
skip
(
"Non-English locale (test with hardcoded 'None')
\n
"
);
else
todo_wine
ok
(
!
strcmp
(
account
,
"None"
),
"expect None, got %s
\n
"
,
account
);
res
=
GetTokenInformation
(
token
,
TokenUser
,
NULL
,
0
,
&
size
);
ok
(
!
res
,
"Expected failure, got %d
\n
"
,
res
);
...
...
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