advapi32/tests: Allow an additional result on newer Win10.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2017-06-12 20:34:36 +02:00 committed by Alexandre Julliard
parent 93323bcf6c
commit 2821685164
1 changed files with 2 additions and 1 deletions

View File

@ -5858,7 +5858,8 @@ static void test_process_access(void)
case GENERIC_WRITE: case GENERIC_WRITE:
ok(access == map[i].mapped || ok(access == map[i].mapped ||
access == (map[i].mapped | PROCESS_TERMINATE) /* before Vista */ || access == (map[i].mapped | PROCESS_TERMINATE) /* before Vista */ ||
access == (map[i].mapped | PROCESS_SET_LIMITED_INFORMATION) /* win8 */, access == (map[i].mapped | PROCESS_SET_LIMITED_INFORMATION) /* win8 */ ||
access == (map[i].mapped | PROCESS_QUERY_LIMITED_INFORMATION | PROCESS_SET_LIMITED_INFORMATION) /* Win10 Anniversary Update */,
"%d: expected %#x, got %#x\n", i, map[i].mapped, access); "%d: expected %#x, got %#x\n", i, map[i].mapped, access);
break; break;
case GENERIC_EXECUTE: case GENERIC_EXECUTE: