summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-27 19:15:22 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-27 19:15:22 +0100
commit8fb1c09df1540aa3fca1148bed6a08ffc3090669 (patch)
treeeb03f2a9f3eb8e074abc0533aac7f5ab7cd8926c /tests
parentdf5557705764d5e8f904a31d549fc037f5b1cf47 (diff)
All OSes now do have a cheap monotonic clock, so no caching thread is needed. Also add some relative time helpers
Diffstat (limited to 'tests')
-rw-r--r--tests/stubs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/stubs.c b/tests/stubs.c
index 09a7312..a8e6962 100644
--- a/tests/stubs.c
+++ b/tests/stubs.c
@@ -16,8 +16,7 @@ void free_peerlist(ot_peerlist *peer_list) { (void)peer_list; }
16/* ot_accesslist.c is built with WANT_ACCESSLIST_BLACK so that the hash parser 16/* ot_accesslist.c is built with WANT_ACCESSLIST_BLACK so that the hash parser
17 is reachable. These two belong to accesslist_readfile and the reload worker, 17 is reachable. These two belong to accesslist_readfile and the reload worker,
18 neither of which any test drives. */ 18 neither of which any test drives. */
19time_t g_now_seconds; 19_Atomic int g_opentracker_running;
20volatile int g_opentracker_running;
21 20
22/* ot_mutex.c wakes the main loop through the self pipe when a result is 21/* ot_mutex.c wakes the main loop through the self pipe when a result is
23 ready. The queue tests never get that far. */ 22 ready. The queue tests never get that far. */