https://git.reactos.org/?p=reactos.git;a=commitdiff;h=684b5ce86a18911adece05...
commit 684b5ce86a18911adece0523f05278e845a81146 Author: Timo Kreuzer timo.kreuzer@reactos.org AuthorDate: Mon Jan 30 23:57:53 2023 +0200 Commit: Timo Kreuzer timo.kreuzer@reactos.org CommitDate: Tue Jan 31 18:39:21 2023 +0100
[NTDLL_APITEST] Comment out a test that fails on Windows Server 2003 --- modules/rostests/apitests/ntdll/Timer.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/modules/rostests/apitests/ntdll/Timer.c b/modules/rostests/apitests/ntdll/Timer.c index ff924da96d7..24f4d79b2d2 100644 --- a/modules/rostests/apitests/ntdll/Timer.c +++ b/modules/rostests/apitests/ntdll/Timer.c @@ -60,7 +60,9 @@ START_TEST(TimerResolution) &CurrentResolution); ok_hex(Status, STATUS_SUCCESS); printf("Current resolution: %lu ; maximum resolution: %lu\n", CurrentResolution, MaximumResolution); +#if 0 // Why? This doesn't hold true on Windows Server 2003. ok(abs((LONG)MaximumResolution - (LONG)CurrentResolution) < 200, "Current resolution: %lu became too low! (maximum resolution: %lu)\n", CurrentResolution, MaximumResolution); +#endif
/* Get the current timer resolution */ Status = NtSetTimerResolution(0, /* Ignored */