Tests: don't call timer_expiry directly.
authorDavin McCall <davmac@davmac.org>
Sun, 26 May 2019 04:37:31 +0000 (14:37 +1000)
committerDavin McCall <davmac@davmac.org>
Sun, 26 May 2019 04:37:31 +0000 (14:37 +1000)
commit163bd66dbcd8f2ea7bc3ef3751c02421f13b840f
tree8e0bf3ec9917e7f5056c6a9518ca17dd311fd2bd
parent2b6408065feceb586b6a9b2eb0c6d218290e17fa
Tests: don't call timer_expiry directly.

Advance the current simulated time and expire timers if they are active,
rather than calling the timer expiry directly (which makes the
assumption that the timer is active).
src/tests/proctests.cc