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
163dfad5
Commit
163dfad5
authored
May 18, 2011
by
Andrew Nguyen
Committed by
Alexandre Julliard
May 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Use a matching enumeration value for the trustee form member.
parent
9d5ef071
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
security.c
dlls/advapi32/tests/security.c
+6
-6
No files found.
dlls/advapi32/tests/security.c
View file @
163dfad5
...
...
@@ -2782,7 +2782,7 @@ static void test_SetEntriesInAclW(void)
}
else
{
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
USER
;
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
NAME
;
ExplicitAccess
.
Trustee
.
ptstrName
=
(
LPWSTR
)
wszEveryone
;
res
=
pSetEntriesInAclW
(
1
,
&
ExplicitAccess
,
OldAcl
,
&
NewAcl
);
ok
(
res
==
ERROR_SUCCESS
,
"SetEntriesInAclW failed: %u
\n
"
,
res
);
...
...
@@ -2798,7 +2798,7 @@ static void test_SetEntriesInAclW(void)
broken
(
NewAcl
!=
NULL
),
/* NT4 */
"returned acl wasn't NULL: %p
\n
"
,
NewAcl
);
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
USER
;
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
NAME
;
ExplicitAccess
.
Trustee
.
MultipleTrusteeOperation
=
TRUSTEE_IS_IMPERSONATE
;
res
=
pSetEntriesInAclW
(
1
,
&
ExplicitAccess
,
OldAcl
,
&
NewAcl
);
ok
(
res
==
ERROR_INVALID_PARAMETER
||
...
...
@@ -2816,7 +2816,7 @@ static void test_SetEntriesInAclW(void)
LocalFree
(
NewAcl
);
}
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
USER
;
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
NAME
;
ExplicitAccess
.
Trustee
.
ptstrName
=
(
LPWSTR
)
wszCurrentUser
;
res
=
pSetEntriesInAclW
(
1
,
&
ExplicitAccess
,
OldAcl
,
&
NewAcl
);
ok
(
res
==
ERROR_SUCCESS
,
"SetEntriesInAclW failed: %u
\n
"
,
res
);
...
...
@@ -2913,7 +2913,7 @@ static void test_SetEntriesInAclA(void)
}
else
{
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
USER
;
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
NAME
;
ExplicitAccess
.
Trustee
.
ptstrName
=
(
LPSTR
)
szEveryone
;
res
=
pSetEntriesInAclA
(
1
,
&
ExplicitAccess
,
OldAcl
,
&
NewAcl
);
ok
(
res
==
ERROR_SUCCESS
,
"SetEntriesInAclA failed: %u
\n
"
,
res
);
...
...
@@ -2929,7 +2929,7 @@ static void test_SetEntriesInAclA(void)
broken
(
NewAcl
!=
NULL
),
/* NT4 */
"returned acl wasn't NULL: %p
\n
"
,
NewAcl
);
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
USER
;
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
NAME
;
ExplicitAccess
.
Trustee
.
MultipleTrusteeOperation
=
TRUSTEE_IS_IMPERSONATE
;
res
=
pSetEntriesInAclA
(
1
,
&
ExplicitAccess
,
OldAcl
,
&
NewAcl
);
ok
(
res
==
ERROR_INVALID_PARAMETER
||
...
...
@@ -2947,7 +2947,7 @@ static void test_SetEntriesInAclA(void)
LocalFree
(
NewAcl
);
}
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
USER
;
ExplicitAccess
.
Trustee
.
TrusteeForm
=
TRUSTEE_IS_
NAME
;
ExplicitAccess
.
Trustee
.
ptstrName
=
(
LPSTR
)
szCurrentUser
;
res
=
pSetEntriesInAclA
(
1
,
&
ExplicitAccess
,
OldAcl
,
&
NewAcl
);
ok
(
res
==
ERROR_SUCCESS
,
"SetEntriesInAclA failed: %u
\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