From: Lauri Kenttä Subject: [PATCH] ntdll/tests: Skip RtlRandom tests on Windows 10. Message-Id: <1442251494-26237-1-git-send-email-lauri.kentta@gmail.com> Date: Mon, 14 Sep 2015 20:24:54 +0300 Windows 10 uses a different algorithm for RtlRandom. All the tests currently fail and produce tons of spam. (There's already a similar case for Windows Vista.) --- dlls/ntdll/tests/rtl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c index 9a4ec48..f42e313 100644 --- a/dlls/ntdll/tests/rtl.c +++ b/dlls/ntdll/tests/rtl.c @@ -739,6 +739,16 @@ static void test_RtlRandom(void) return; } +/* + * Windows 10 uses different algorithms, so skip the rest of the tests + * until that is figured out. Trace output for the failures is about 23 MB! + */ + + if (seed == 0x7fffffc3) { + skip("Most likely running on Windows 10 which uses a different algorithm\n"); + return; + } + ok(result == result_expected, "pRtlRandom(&seed (seed == 0)) returns %x, expected %x\n", result, result_expected); -- 2.5.1