Commit 3c969224 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

ntdll: Skip the byte swap test in win2k.

parent 36e703b4
...@@ -264,6 +264,12 @@ static void test_RtlUlonglongByteSwap(void) ...@@ -264,6 +264,12 @@ static void test_RtlUlonglongByteSwap(void)
{ {
ULONGLONG result; ULONGLONG result;
if ( pRtlUlonglongByteSwap( 0 ) != 0 )
{
win_skip("Broken RtlUlonglongByteSwap in win2k\n");
return;
}
result = pRtlUlonglongByteSwap( ((ULONGLONG)0x76543210 << 32) | 0x87654321 ); result = pRtlUlonglongByteSwap( ((ULONGLONG)0x76543210 << 32) | 0x87654321 );
ok( (((ULONGLONG)0x21436587 << 32) | 0x10325476) == result, ok( (((ULONGLONG)0x21436587 << 32) | 0x10325476) == result,
"RtlUlonglongByteSwap(0x7654321087654321) returns 0x%x%08x, expected 0x2143658710325476\n", "RtlUlonglongByteSwap(0x7654321087654321) returns 0x%x%08x, expected 0x2143658710325476\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment