Ge van Geldorp : ntdll/tests: Fix exception test failure on Win7.

Alexandre Julliard julliard at winehq.org
Wed Oct 7 09:46:07 CDT 2009


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

Author: Ge van Geldorp <ggeldorp at vmware.com>
Date:   Wed Oct  7 12:27:12 2009 +0200

ntdll/tests: Fix exception test failure on Win7.

---

 dlls/ntdll/tests/exception.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 2a959f7..f693960 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -129,11 +129,11 @@ static const struct exception
     { { 0x0e, 0x17, 0x58, 0xc3 },  /* 18: pushl %cs; popl %ss; popl %eax; ret */
       1, 1, STATUS_ACCESS_VIOLATION, 2, { 0, 0xffffffff } },
 
-    /* 19: test overlong instruction (limit is 16 bytes) */
+    /* 19: test overlong instruction (limit is 15 bytes, 5 on Win7) */
     { { 0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0xfa,0xc3 },
       0, 16, STATUS_ILLEGAL_INSTRUCTION, 0 },
-    { { 0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0x64,0xfa,0xc3 },
-      0, 15, STATUS_PRIVILEGED_INSTRUCTION, 0 },
+    { { 0x64,0x64,0x64,0x64,0xfa,0xc3 },
+      0, 5, STATUS_PRIVILEGED_INSTRUCTION, 0 },
 
     /* test invalid interrupt */
     { { 0xcd, 0xff, 0xc3 },   /* 21: int $0xff; ret */




More information about the wine-cvs mailing list