This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
pablo at gnumonks.org pablo at gnumonks.orgFrom: Pablo Neira Ayuso <pablo at soleta.eu> Make sure circuit routines works correctly. --- tests/osmux/osmux_test.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/osmux/osmux_test.c b/tests/osmux/osmux_test.c index 0ad02d3..7cc838d 100644 --- a/tests/osmux/osmux_test.c +++ b/tests/osmux/osmux_test.c @@ -205,6 +205,13 @@ int main(void) for (i = 0; i < 4; i++) osmux_xfrm_input_close_circuit(&h_input, i); + /* Reopen with two circuits and retest */ + osmux_xfrm_input_open_circuit(&h_input, 0, 0); + osmux_xfrm_input_open_circuit(&h_input, 1, 1); + osmux_test_loop(0); + osmux_xfrm_input_close_circuit(&h_input, 0); + osmux_xfrm_input_close_circuit(&h_input, 1); + osmux_xfrm_input_fini(&h_input); fprintf(stdout, "OK: Test passed\n"); -- 1.7.10.4