ntdll: Fix a test that fails in win2k3.

This commit is contained in:
James Hawkins 2008-05-14 14:55:00 -05:00 committed by Alexandre Julliard
parent cfce5be4ce
commit 2470b0b316

View file

@ -215,8 +215,10 @@ LONG CALLBACK rtlraiseexception_vectored_handler(EXCEPTION_POINTERS *ExceptionIn
*/
if(rec->ExceptionCode == EXCEPTION_BREAKPOINT)
{
ok(context->Eip == (DWORD)code_mem + 0xa, "Eip at %x instead of %x\n",
context->Eip, (DWORD)code_mem + 0xa);
ok(context->Eip == (DWORD)code_mem + 0xa ||
context->Eip == (DWORD)code_mem + 0xb, /* win2k3 */
"Eip at %x instead of %x or %x\n", context->Eip,
(DWORD)code_mem + 0xa, (DWORD)code_mem + 0xb);
}
else
{
@ -245,8 +247,10 @@ static DWORD rtlraiseexception_handler( EXCEPTION_RECORD *rec, EXCEPTION_REGISTR
*/
if(rec->ExceptionCode == EXCEPTION_BREAKPOINT)
{
ok(context->Eip == (DWORD)code_mem + 0xa, "Eip at %x instead of %x\n",
context->Eip, (DWORD)code_mem + 0xa);
ok(context->Eip == (DWORD)code_mem + 0xa ||
context->Eip == (DWORD)code_mem + 0xb, /* win2k3 */
"Eip at %x instead of %x or %x\n", context->Eip,
(DWORD)code_mem + 0xa, (DWORD)code_mem + 0xb);
}
else
{