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

Alexandre Julliard julliard at winehq.org
Fri Oct 23 10:19:00 CDT 2009


Module: wine
Branch: master
Commit: cde867333911dac3c61f0a1923ff8fac87503d72
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cde867333911dac3c61f0a1923ff8fac87503d72

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Fri Oct 23 10:22:19 2009 +0200

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

---

 dlls/kernel32/tests/debugger.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/kernel32/tests/debugger.c b/dlls/kernel32/tests/debugger.c
index 57d68ec..ca26302 100644
--- a/dlls/kernel32/tests/debugger.c
+++ b/dlls/kernel32/tests/debugger.c
@@ -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);




More information about the wine-cvs mailing list