summaryrefslogtreecommitdiffstats
path: root/tests/gb
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-04-09 00:42:22 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-04-09 17:57:15 +0200
commitd8f175cd2a1e134d0354341c9ac4d8e5c53171ea (patch)
treea58c0358bc0ef00b3ceede7e87ad8e7141236da8 /tests/gb
parent04eb56f146a6c0395645aa2537d7c29f1e234069 (diff)
fsm_test: terminate the main loop instead of exit on timeout
In fsm_test.c, we have FSM instance cleanup after the select main loop, but we exit(0) in the timer cb; hence the final code is never called. Rather clean up the instance and hence also test that, by using a global flag to exit the main loop upon timeout. Adjust expected stderr output. BTW, in a subsequent commit, I want to move the fsm instance id testing to below the main loop, to more clearly group the tested bits. Change-Id: Ia47811ffcc1bd68d2630c86be7ab98fc1f338773
Diffstat (limited to 'tests/gb')
0 files changed, 0 insertions, 0 deletions