libosmocore/tests/fsm
Neels Hofmeyr a64c45a03e add osmo_fsm_inst_update_id_f()
In the osmo-msc, I would like to set the subscr conn FSM identifier by a string
format, to include the type of Complete Layer 3 that is taking place. I could
each time talloc a string and free it again. This API is more convenient.

From osmo_fsm_inst_update_id(), call osmo_fsm_inst_update_id_f() with "%s" (or
pass NULL).

Put the name updating into separate static update_name() function to clarify.

Adjust the error message for erratic ID: don't say "allocate", it might be from
an update. Adjust test expectation.

Change-Id: I76743a7642f2449fd33350691ac8ebbf4400371d
2018-04-09 17:57:15 +02:00
..
fsm_test.c add osmo_fsm_inst_update_id_f() 2018-04-09 17:57:15 +02:00
fsm_test.err add osmo_fsm_inst_update_id_f() 2018-04-09 17:57:15 +02:00
fsm_test.ok Add Finite State Machine abstraction code 2016-06-16 21:43:45 +00:00