1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 05:53:49 +01:00

Merge pull request #11222 from cladmi/pr/tests/posix_semaphore/abstime

tests/posix_semaphore: sem_timedwait should not return before abstime
This commit is contained in:
Juan I Carrano 2019-03-20 17:11:58 +01:00 committed by GitHub
commit a97fe8fff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -279,7 +279,7 @@ void test4(void)
}
uint64_str[fmt_u64_dec(uint64_str, elapsed)] = '\0';
if (elapsed < (exp - 100)) {
if (elapsed < exp) {
printf("first: waited only %s usec => FAILED\n", uint64_str);
}
else if (elapsed > (exp + TEST4_TIMEOUT_EXCEEDED_MARGIN)) {