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
a56f3c66
Commit
a56f3c66
authored
Jul 22, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Add some more well known SIDs to tests.
parent
6576986e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
security.c
dlls/advapi32/tests/security.c
+3
-2
No files found.
dlls/advapi32/tests/security.c
View file @
a56f3c66
...
...
@@ -1655,7 +1655,8 @@ static const struct well_known_sid_value
/* 66 */
{
TRUE
,
"S-1-16-4096"
},
{
TRUE
,
"S-1-16-8192"
},
{
TRUE
,
"S-1-16-12288"
},
/* 69 */
{
TRUE
,
"S-1-16-16384"
},
{
TRUE
,
"S-1-5-33"
},
{
TRUE
,
"S-1-3-4"
},
/* 72 */
{
FALSE
,
"S-1-5-21-12-23-34-45-56-571"
},
{
FALSE
,
"S-1-5-21-12-23-34-45-56-572"
},
/* 74 */
{
TRUE
,
"S-1-5-22"
},
{
FALSE
,
"S-1-5-21-12-23-34-45-56-521"
},
{
TRUE
,
"S-1-5-32-573"
}
/* 74 */
{
TRUE
,
"S-1-5-22"
},
{
FALSE
,
"S-1-5-21-12-23-34-45-56-521"
},
{
TRUE
,
"S-1-5-32-573"
},
/* 77 */
{
FALSE
,
"S-1-5-21-12-23-34-45-56-498"
},
{
TRUE
,
"S-1-5-32-574"
},
{
TRUE
,
"S-1-16-8448"
}
};
static
void
test_CreateWellKnownSid
(
void
)
...
...
@@ -1720,7 +1721,7 @@ static void test_CreateWellKnownSid(void)
expect_eq
(
GetSidLengthRequired
(
*
GetSidSubAuthorityCount
(
sid_buffer
)),
cb
,
DWORD
,
"%d"
);
ok
(
IsValidSid
(
sid_buffer
),
"The sid is not valid
\n
"
);
ok
(
pConvertSidToStringSidA
(
sid_buffer
,
&
str
),
"Couldn't convert SID to string
\n
"
);
ok
(
strcmp
(
str
,
value
->
sid_string
)
==
0
,
"
SID mismatch - expected %s, got %s
\n
"
,
ok
(
strcmp
(
str
,
value
->
sid_string
)
==
0
,
"
%d: SID mismatch - expected %s, got %s
\n
"
,
i
,
value
->
sid_string
,
str
);
LocalFree
(
str
);
...
...
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