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:48:47 +0000 (14:48 +1000)
commitff20d59cee629f6d70741e135ef7e57a731a9213
tree8b60900a0330fdf1df20cfb6e3c045c19d9e526a
parent3d6ab7c0642083e7d4d97b962edc8a9137a19fb1
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