Module: wine Branch: master Commit: b5095a1028b9c79170dfe0d927422a0658bee502 URL: https://source.winehq.org/git/wine.git/?a=commit;h=b5095a1028b9c79170dfe0d92...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Apr 29 22:53:59 2021 +0200
ntdll/tests: Fix a test failure on Windows 8.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/ntdll/tests/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c index b68edfa64dc..f12b2862a99 100644 --- a/dlls/ntdll/tests/info.c +++ b/dlls/ntdll/tests/info.c @@ -3097,7 +3097,7 @@ static void test_wow64(void) ok( (char *)teb64 + 0x2000 == (char *)NtCurrentTeb(), "unexpected diff %p / %p\n", teb64, NtCurrentTeb() ); ok( (char *)teb64 + teb64->WowTebOffset == (char *)NtCurrentTeb() || - broken( NtCurrentTeb()->WowTebOffset == 1 ), /* vista */ + broken( !teb64->WowTebOffset || teb64->WowTebOffset == 1 ), /* pre-win10 */ "wrong WowTebOffset %x (%p/%p)\n", teb64->WowTebOffset, teb64, NtCurrentTeb() ); ok( !teb64->GdiBatchCount, "GdiBatchCount set %x\n", teb64->GdiBatchCount ); ok( teb64->Tib.ExceptionList == PtrToUlong( NtCurrentTeb() ), "wrong Tib.ExceptionList %s / %p\n",