projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56849c
)
test_time: allow exact usleep
author
Marko Kreen
<markokr@gmail.com>
Tue, 15 Feb 2011 07:25:17 +0000
(09:25 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Tue, 15 Feb 2011 07:25:17 +0000
(09:25 +0200)
test/test_time.c
patch
|
blob
|
blame
|
history
diff --git
a/test/test_time.c
b/test/test_time.c
index bec48bbf09e35d43f7e85e27a7d2927c5dd90ae5..8992c74810a36ffad0e9bf85d65b1ad469bdeb4d 100644
(file)
--- a/
test/test_time.c
+++ b/
test/test_time.c
@@
-16,7
+16,7
@@
static void test_get_time(void *p)
usleep(USEC / 4);
t2 = get_time_usec();
- tt_assert(t + USEC / 4 < t2);
+ tt_assert(t + USEC / 4 <
=
t2);
ct2 = get_cached_time();
tt_assert(ct2 == ct);