Module: wine Branch: master Commit: 93250eb56e2361f3d7a5550478f28408c3cebd5e URL: https://gitlab.winehq.org/wine/wine/-/commit/93250eb56e2361f3d7a5550478f2840...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Sep 14 14:53:27 2022 +0200
ntdll/tests: Re-add workaround for check that is still broken on win7.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53679
---
dlls/ntdll/tests/env.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/ntdll/tests/env.c b/dlls/ntdll/tests/env.c index 33a6eb277bf..4a6257ecff1 100644 --- a/dlls/ntdll/tests/env.c +++ b/dlls/ntdll/tests/env.c @@ -271,7 +271,8 @@ static UINT_PTR check_string_( int line, RTL_USER_PROCESS_PARAMETERS *params, UN return pos; } if (expect) - ok_(__FILE__,line)( (UINT_PTR)str->Buffer == align(pos, sizeof(void *)), + ok_(__FILE__,line)( (UINT_PTR)str->Buffer == align(pos, sizeof(void *)) || + broken( (UINT_PTR)str->Buffer == align(pos, 4) ), /* win7 */ "wrong buffer %Ix/%Ix\n", (UINT_PTR)str->Buffer, pos ); else /* initial params are not aligned */ ok_(__FILE__,line)( (UINT_PTR)str->Buffer == pos,