Module: wine Branch: master Commit: aef2edb0cf652f80697c7ced8ee55e3ba02db7ac URL: http://source.winehq.org/git/wine.git/?a=commit;h=aef2edb0cf652f80697c7ced8e...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Apr 6 12:35:21 2007 +0200
kernel32: Add a bit of slack to the mailslot timeout test.
---
dlls/kernel32/tests/mailslot.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/tests/mailslot.c b/dlls/kernel32/tests/mailslot.c index 850b065..6eb8d8a 100644 --- a/dlls/kernel32/tests/mailslot.c +++ b/dlls/kernel32/tests/mailslot.c @@ -299,7 +299,7 @@ static int mailslot_test(void) ok( !ReadFile( hSlot, buffer, sizeof buffer, &count, NULL), "slot read\n"); ok( GetLastError() == ERROR_SEM_TIMEOUT, "wrong error %u\n", GetLastError() ); dwTimeout = GetTickCount() - dwTimeout; - ok( dwTimeout >= 1000, "timeout too short %u\n", dwTimeout ); + ok( dwTimeout >= 990, "timeout too short %u\n", dwTimeout ); ok( CloseHandle( hSlot ), "closing the mailslot\n");
return 0;