rpcrt4/tests: Use status definitions instead of numeric values.

This commit is contained in:
Nikolay Sivov 2015-03-25 22:06:20 +03:00 committed by Alexandre Julliard
parent 5cd6db0349
commit fd25d9aadb
1 changed files with 3 additions and 3 deletions

View File

@ -665,7 +665,7 @@ static void test_I_RpcExceptionFilter(void)
if (!pI_RpcExceptionFilter)
{
skip("I_RpcExceptionFilter not exported\n");
win_skip("I_RpcExceptionFilter not exported\n");
return;
}
@ -684,9 +684,9 @@ static void test_I_RpcExceptionFilter(void)
case STATUS_ACCESS_VIOLATION:
case STATUS_ILLEGAL_INSTRUCTION:
case STATUS_PRIVILEGED_INSTRUCTION:
case 0xc00000aa /* STATUS_INSTRUCTION_MISALIGNMENT */:
case STATUS_INSTRUCTION_MISALIGNMENT:
case STATUS_STACK_OVERFLOW:
case 0xc0000194 /* STATUS_POSSIBLE_DEADLOCK */:
case STATUS_POSSIBLE_DEADLOCK:
ok(retval == EXCEPTION_CONTINUE_SEARCH, "I_RpcExceptionFilter(0x%x) should have returned %d instead of %d\n",
exception, EXCEPTION_CONTINUE_SEARCH, retval);
break;