From 31c0fef2fd5daa53617c05752411ec6446d8a82b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 16 Apr 2017 17:26:30 +0200 Subject: control_if: Add control interface commands for FSMs This allows programmatic access to introspection of FSM instances, which is quite handy from e.g. external test cases: Send a message to the code, then use the CTRL interface to check if that message has triggered the right kind of state transition. Change-Id: I0f80340ee9c61c88962fdd6764a6098a844d0d1e --- tests/fsm/fsm_test.err | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/fsm/fsm_test.err') diff --git a/tests/fsm/fsm_test.err b/tests/fsm/fsm_test.err index 6f031be8..17a2f2e0 100644 --- a/tests/fsm/fsm_test.err +++ b/tests/fsm/fsm_test.err @@ -1,11 +1,11 @@ Checking FSM allocation -Test FSM(my_id){NULL}: Allocated -Test FSM(my_id){NULL}: Received Event 1 -Test FSM(my_id){NULL}: Event 1 not permitted -Test FSM(my_id){NULL}: Received Event 0 -Test FSM(my_id){NULL}: state_chg to ONE -Test FSM(my_id){ONE}: Received Event 1 -Test FSM(my_id){ONE}: state_chg to TWO -Test FSM(my_id){TWO}: Timeout of T2342 +Test_FSM(my_id){NULL}: Allocated +Test_FSM(my_id){NULL}: Received Event 1 +Test_FSM(my_id){NULL}: Event 1 not permitted +Test_FSM(my_id){NULL}: Received Event 0 +Test_FSM(my_id){NULL}: state_chg to ONE +Test_FSM(my_id){ONE}: Received Event 1 +Test_FSM(my_id){ONE}: state_chg to TWO +Test_FSM(my_id){TWO}: Timeout of T2342 Timer  \ No newline at end of file -- cgit v1.2.3