Commit 344ef82b authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

ntdll/tests: Skip some tests if not allowed to modify image file execution options.

parent 752bb66b
......@@ -1198,6 +1198,11 @@ static void test_redirection(void)
pRtlInitUnicodeString( &str, classes64W );
status = pNtCreateKey( &key64, KEY_WOW64_64KEY | KEY_ALL_ACCESS, &attr, 0, 0, 0, 0 );
if (status == STATUS_ACCESS_DENIED)
{
skip("Not authorized to modify the Classes key\n");
return;
}
ok( status == STATUS_SUCCESS, "NtCreateKey failed: 0x%08x\n", status );
pRtlInitUnicodeString( &str, classes32W );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment