[PATCH] kernel32/tests: Try harder to crash in the debugger test.
Octavian Voicu
octavian.voicu at gmail.com
Tue Aug 3 15:31:52 CDT 2010
Seems that writing to address 0 doesn't always crash on win64
(see test.winehq.org). This patch will make sure it crashes.
---
dlls/kernel32/tests/debugger.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/tests/debugger.c b/dlls/kernel32/tests/debugger.c
index dacad1f..45e6268 100644
--- a/dlls/kernel32/tests/debugger.c
+++ b/dlls/kernel32/tests/debugger.c
@@ -175,6 +175,9 @@ static void doCrash(int argc, char** argv)
trace("child: crashing...\n");
p=NULL;
*p=0;
+ trace("child: crash failed, trying again...\n");
+ p=(void*)0xdeadbeef;
+ *p=0;
}
typedef struct
--
1.7.0.4
More information about the wine-patches
mailing list