James Hawkins : ntdll: Skip the byte swap test in win2k.

Alexandre Julliard julliard at winehq.org
Wed Jul 2 06:03:39 CDT 2008


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

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Tue Jul  1 23:21:17 2008 -0500

ntdll: Skip the byte swap test in win2k.

---

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

diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c
index 443b987..415f0db 100644
--- a/dlls/ntdll/tests/rtl.c
+++ b/dlls/ntdll/tests/rtl.c
@@ -264,6 +264,12 @@ static void test_RtlUlonglongByteSwap(void)
 {
     ULONGLONG result;
 
+    if ( pRtlUlonglongByteSwap( 0 ) != 0 )
+    {
+        win_skip("Broken RtlUlonglongByteSwap in win2k\n");
+        return;
+    }
+
     result = pRtlUlonglongByteSwap( ((ULONGLONG)0x76543210 << 32) | 0x87654321 );
     ok( (((ULONGLONG)0x21436587 << 32) | 0x10325476) == result,
        "RtlUlonglongByteSwap(0x7654321087654321) returns 0x%x%08x, expected 0x2143658710325476\n",




More information about the wine-cvs mailing list