kernel32/tests: Fix an intermittent test failure on Vista+.

This commit is contained in:
Paul Vriens 2009-10-23 10:22:19 +02:00 committed by Alexandre Julliard
parent 3d93a19266
commit cde8673339
1 changed files with 1 additions and 0 deletions

View File

@ -282,6 +282,7 @@ static void crash_and_debug(HKEY hkey, const char* argv0, const char* dbgtasks)
* detaching, then the debuggee gets a special exit code.
*/
ok(exit_code == STATUS_DEBUGGER_INACTIVE ||
broken(exit_code == STATUS_ACCESS_VIOLATION) || /* Intermittent Vista+ */
broken(exit_code == 0xffffffff) || /* Win9x */
broken(exit_code == WAIT_ABANDONED), /* NT4, W2K */
"wrong exit code : %08x\n", exit_code);