Commit fa0da6a2 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

kernel32/tests: Allow ERROR_ACCESS_DENIED for newer Win10.

parent 56885a1c
...@@ -3163,7 +3163,8 @@ todo_wine ...@@ -3163,7 +3163,8 @@ todo_wine
if (!ret) if (!ret)
ok(GetLastError() == ERROR_INVALID_PARAMETER || ok(GetLastError() == ERROR_INVALID_PARAMETER ||
GetLastError() == ERROR_GEN_FAILURE /* win7 64-bit */ || GetLastError() == ERROR_GEN_FAILURE /* win7 64-bit */ ||
GetLastError() == ERROR_INVALID_FUNCTION /* vista 64-bit */, GetLastError() == ERROR_INVALID_FUNCTION /* vista 64-bit */ ||
GetLastError() == ERROR_ACCESS_DENIED /* Win10 32-bit */,
"expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError()); "expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
ctx.ContextFlags = CONTEXT_INTEGER; ctx.ContextFlags = CONTEXT_INTEGER;
...@@ -3186,7 +3187,8 @@ todo_wine ...@@ -3186,7 +3187,8 @@ todo_wine
if (!ret) if (!ret)
ok(GetLastError() == ERROR_INVALID_PARAMETER || ok(GetLastError() == ERROR_INVALID_PARAMETER ||
GetLastError() == ERROR_GEN_FAILURE /* win7 64-bit */ || GetLastError() == ERROR_GEN_FAILURE /* win7 64-bit */ ||
GetLastError() == ERROR_INVALID_FUNCTION /* vista 64-bit */, GetLastError() == ERROR_INVALID_FUNCTION /* vista 64-bit */ ||
GetLastError() == ERROR_ACCESS_DENIED /* Win10 32-bit */,
"expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError()); "expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
ctx.ContextFlags = CONTEXT_INTEGER; ctx.ContextFlags = CONTEXT_INTEGER;
......
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