kernel32/tests: Skip some tests when NtSetInformationProcess is denied access.
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a9e6f9aa71
commit
71e96bd3b7
|
@ -2601,7 +2601,8 @@ static void test_atl_thunk_emulation( ULONG dep_flags )
|
||||||
if (old_flags != dep_flags)
|
if (old_flags != dep_flags)
|
||||||
{
|
{
|
||||||
ret = NtSetInformationProcess( GetCurrentProcess(), ProcessExecuteFlags, &dep_flags, sizeof(dep_flags) );
|
ret = NtSetInformationProcess( GetCurrentProcess(), ProcessExecuteFlags, &dep_flags, sizeof(dep_flags) );
|
||||||
if (ret == STATUS_INVALID_INFO_CLASS) /* Windows 2000 */
|
if (ret == STATUS_INVALID_INFO_CLASS /* Windows 2000 */ ||
|
||||||
|
ret == STATUS_ACCESS_DENIED)
|
||||||
{
|
{
|
||||||
win_skip( "Skipping DEP tests with ProcessExecuteFlags = %d\n", dep_flags );
|
win_skip( "Skipping DEP tests with ProcessExecuteFlags = %d\n", dep_flags );
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue