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:
commit
a97fe8fff7
@ -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)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user