osmo-msc/tests/msc_vlr
Neels Hofmeyr 01653252b4 msc_a fsm: ignore state chg to same state
We sometimes see errors like

   libmsc/msc_a.c:361 msc_a(...){MSC_A_ST_RELEASING}: transition to state MSC_A_ST_RELEASING not permitted!

i.e. changing state to the state msc_a is already in.

Ignore re-entering the same state for most state changes. However, there is one
state change in msc_a where re-entering the MSC_A_ST_VALIDATE_L3 is necessary
to start the timeout.

Hence add msc_a_state_chg_always() and use that for re-entering
MSC_A_ST_VALIDATE_L3. Change msc_a_state_chg() to skip no-op state changes.

This should silence all no-op state change error messages for msc_a.

Related: OS#4169
Change-Id: I0c74c10b5fa7bbdd6ae3674926cc0393edf15a35
2019-09-03 13:59:05 +00:00
..
Makefile.am tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_authen_reuse.c add 'encryption uea 1 2' cfg / fix ttcn3 iu tests 2019-08-13 23:52:31 +02:00
msc_vlr_test_authen_reuse.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00:00
msc_vlr_test_authen_reuse.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_call.c add 'encryption uea 1 2' cfg / fix ttcn3 iu tests 2019-08-13 23:52:31 +02:00
msc_vlr_test_call.err Set coding in mncc_set_cause() 2019-08-02 08:08:33 +00:00
msc_vlr_test_call.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_gsm_authen.c tests/msc_vlr: fix: do not pass RAT type to expect_bssap_clear() 2019-06-19 02:05:08 +07:00
msc_vlr_test_gsm_authen.err msc_a fsm: ignore state chg to same state 2019-09-03 13:59:05 +00:00
msc_vlr_test_gsm_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_gsm_ciph.c tests/msc_vlr: fix: do not pass RAT type to expect_bssap_clear() 2019-06-19 02:05:08 +07:00
msc_vlr_test_gsm_ciph.err log, cosmetic: add "RR" to "Ciphering Mode Complete" 2019-09-02 11:06:05 +02:00
msc_vlr_test_gsm_ciph.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_reject.c tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_hlr_reject.err msc_a fsm: ignore state chg to same state 2019-09-03 13:59:05 +00:00
msc_vlr_test_hlr_reject.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_hlr_timeout.c tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_hlr_timeout.err msc_a fsm: ignore state chg to same state 2019-09-03 13:59:05 +00:00
msc_vlr_test_hlr_timeout.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_ms_timeout.c tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_ms_timeout.err msc_a fsm: ignore state chg to same state 2019-09-03 13:59:05 +00:00
msc_vlr_test_ms_timeout.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_no_authen.c tests/msc_vlr: fix: do not pass RAT type to expect_bssap_clear() 2019-06-19 02:05:08 +07:00
msc_vlr_test_no_authen.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00:00
msc_vlr_test_no_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_reject_concurrency.c tests/msc_vlr: fix: do not pass RAT type to expect_bssap_clear() 2019-06-19 02:05:08 +07:00
msc_vlr_test_reject_concurrency.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00:00
msc_vlr_test_reject_concurrency.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_rest.c tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_rest.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00:00
msc_vlr_test_rest.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_test_ss.c tests: share stubs.h from msc_vlr_test as stubs.c 2019-06-03 17:17:58 +07:00
msc_vlr_test_ss.err replace osmo_counter with stat_items 2019-07-18 14:50:51 +00:00
msc_vlr_test_ss.ok msc_vlr_tests: don't abuse USSD-request to conclude connections 2018-07-29 16:22:06 +02:00
msc_vlr_test_umts_authen.c add 'encryption uea 1 2' cfg / fix ttcn3 iu tests 2019-08-13 23:52:31 +02:00
msc_vlr_test_umts_authen.err add msc_vlr tests for UMTS without ciphering 2019-08-05 23:24:47 +02:00
msc_vlr_test_umts_authen.ok msc_vlr_tests: revert IMSI parameter and test nr output 2018-03-02 03:22:16 +01:00
msc_vlr_tests.c msc_vlr_tests: GSUP: don't care about extra IEs 2019-09-02 11:07:49 +02:00
msc_vlr_tests.h add 'encryption uea 1 2' cfg / fix ttcn3 iu tests 2019-08-13 23:52:31 +02:00