Commit 93250eb5 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll/tests: Re-add workaround for check that is still broken on win7.

parent e79b1290
......@@ -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,
......
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