From 3c969224ad5706c81e50069a1c5d5a548cc9b4f6 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Tue, 1 Jul 2008 23:21:17 -0500 Subject: [PATCH] ntdll: Skip the byte swap test in win2k. --- dlls/ntdll/tests/rtl.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c index 443b987c1f2..415f0dbbf17 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", -- 2.11.4.GIT