libosmocore/tests
Vadim Yanitskiy 477d99f7c9 tests/fsm: also test .onenter and .onleave callbacks
Extend the existing testing coverage to check per-state enter/leave
callbacks.  An interesting behavior can be seen from the test output:
when allocating an FSM instance, the .onenter callback is not being
called for the initial FSM state (ST_NULL).  Likewise, the .onleave
callback is not being called when free()ing an FSM instance.

Change-Id: I22edcf91375a09854f0dab1e2e02e034629310f7
2023-12-27 05:10:11 +07:00
..
a5 tests: a5_test: Print wrong buffer correctly on error 2018-05-16 21:13:58 +02:00
abis copyright: fix typo: sysmocom s/s.m.f.c./s.f.m.c./ GmbH 2023-05-19 08:48:48 +00:00
auth libosmogsm: Add support for TUAK authentication algorithm 2023-06-02 10:44:05 +02:00
base64 base64: reformat using Lindent to conform to our coding style 2021-09-21 19:57:56 +00:00
bitgen bitgen test: fix concat macro 2023-01-11 09:01:18 +00:00
bits tests: bitrev_test: Fix dynamic-stack-buffer-overflow 2018-05-16 17:10:33 +02:00
bitvec Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
bsslap Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
bssmap_le Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
codec codec: replace GSM-FR ECU with new implementation 2023-05-17 13:53:20 +00:00
coding tests/coding: fix -Wmaybe-uninitialized in test_pdtch() 2023-12-08 03:58:37 +07:00
comp128 tests: test actual support status for auth. algo 2016-06-29 16:33:40 +00:00
context context: Add support for [per-thread] global talloc contexts 2019-08-27 13:43:31 +02:00
conv gsm: Improve the TCH/H2.4 coding routines 2023-07-07 16:06:26 +02:00
ctrl Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
dtx coding: add gsm0503_detect_a[fh]s_dtx_frame2() 2022-05-27 08:31:30 +00:00
endian add/clean big-endian packed structs (struct_endianess.py) 2018-12-19 18:40:03 +00:00
exec Introduce helper functions for safe fork+exec of processes 2019-12-17 13:49:28 +01:00
fr Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
fsm tests/fsm: also test .onenter and .onleave callbacks 2023-12-27 05:10:11 +07:00
gad Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
gb Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
gea tests: gea_test: Use correct max size for key in buffer 2018-05-16 20:09:39 +02:00
gprs use osmo_init_logging2() with proper talloc ctx 2018-04-06 04:37:50 +02:00
gsm48 copyright: fix typo: sysmocom s/s.m.f.c./s.f.m.c./ GmbH 2023-05-19 08:48:48 +00:00
gsm0408 gsm48_ie.c: change bearer cap structure in outgoing CSD calls 2023-10-17 11:22:10 +00:00
gsm0502 gsm: rename s/gsm0502_fn_compare/gsm0502_fncmp/ 2023-09-26 11:03:49 +00:00
gsm0808 tests/gsm0808: fix assert()s in test_gsm0808_dec_cell_id_list_srvcc() 2023-12-12 13:58:11 +00:00
gsm23003 Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
gsm23236 Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
gsm29205 Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
gsm44021 tests/{v110,gsm44021}: change naming: 'test_' -> '_test' 2023-09-04 17:47:41 +07:00
gsup Drop use of log_set_print_filename() API inside libosmocore 2021-02-20 17:13:58 +00:00
i460_mux create libosmoisdn sub-library 2023-01-21 22:41:57 +01:00
it_q core: fix wrong logic in _osmo_it_q_dequeue() 2023-12-09 15:23:11 +07:00
iuup tests/iuup: fix assert()s in test_decode_passive_init_2_rfci_no_iptis() 2023-12-12 13:58:11 +00:00
kasumi gsm: kasumi: Fix dynamic-stack-buffer-overflow on out buffers not multiple of 64 bits 2018-05-17 12:13:04 +02:00
lapd tests/lapd: fix wrong size passed in test_lapdm_contention_resolution() 2023-12-12 13:58:11 +00:00
logging tests: Test gsmtap logging if write queue fills up 2023-12-18 17:04:34 +01:00
loggingrb logging: ensure ANSI color escape is sent in same line/before newline 2023-11-07 16:50:22 +00:00
msgb Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
msgfile treewide: remove FSF address 2021-12-14 12:44:03 +01:00
oap treewide: remove FSF address 2021-12-14 12:44:03 +01:00
osmo-auc-gen libosmogsm: Allow auth API caller to specify RES length 2023-06-02 08:29:55 +00:00
osmo_io osmo_io: Add io_uring backend 2023-08-24 17:33:19 +02:00
prbs Add pseudo-random bit sequence generator to libosmcoore 2017-07-10 23:42:02 +02:00
rlp Add a GSM RLP decoder and encoder 2023-11-29 14:35:36 +00:00
sercomm treewide: remove FSF address 2021-12-14 12:44:03 +01:00
sim treewide: remove FSF address 2021-12-14 12:44:03 +01:00
sms Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
smscb Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
sockaddr_str Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
socket tests/socket: Avoid keeping unneeded sockets open during next test cases 2023-12-05 21:54:55 +00:00
soft_uart soft_uart: demonstrate a problem with inefficient polling 2023-12-11 20:49:24 +00:00
stats copyright: fix typo: sysmocom s/s.m.f.c./s.f.m.c./ GmbH 2023-05-19 08:48:48 +00:00
strrb treewide: remove FSF address 2021-12-14 12:44:03 +01:00
tdef libosmocore: Transition to use of 'telnet_init_default' 2023-01-27 00:49:45 +01:00
time_cc Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
timer Fix all references to config.h 2023-01-18 19:04:36 +01:00
tlv Fix 'Fix parsing of TLV_TYPE_SINGLE_TV' 2023-05-02 15:20:53 +02:00
use_count Support building with -Werror=strict-prototypes / -Werror=old-style-definition 2022-11-03 12:44:28 +01:00
ussd treewide: remove FSF address 2021-12-14 12:44:03 +01:00
utils util: add osmo_strbuf macros to manipulate the strbuf tail 2023-12-07 04:52:16 +01:00
v110 tests/{v110,gsm44021}: change naming: 'test_' -> '_test' 2023-09-04 17:47:41 +07:00
vty vty: fix vty->index for implicit go_parent_node 2023-05-06 03:49:08 +00:00
write_queue write_queue: Enable updating max_length field 2023-09-19 18:46:09 +00:00
Makefile.am tests: Test gsmtap logging if write queue fills up 2023-12-18 17:04:34 +01:00
atlocal.in build: make check: disable sim_test when built with --disable-pcsc 2016-11-16 16:40:44 +00:00
libsercomstub.c Embedded: add sercomm stubs 2018-01-21 19:08:05 +00:00
testsuite.at tests: Test gsmtap logging if write queue fills up 2023-12-18 17:04:34 +01:00