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/.
Jacob Erlbeck jerlbeck at sysmocom.deCurrently these value may leak into the next test. This patch will reset them after each message has been processed. Sponsored-by: On-Waves ehf --- openbsc/tests/mgcp/mgcp_test.c | 2 ++ openbsc/tests/mgcp/mgcp_test.ok | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openbsc/tests/mgcp/mgcp_test.c b/openbsc/tests/mgcp/mgcp_test.c index 7653a0d..538dc9f 100644 --- a/openbsc/tests/mgcp/mgcp_test.c +++ b/openbsc/tests/mgcp/mgcp_test.c @@ -366,6 +366,8 @@ static void test_messages(void) endp->net_end.packet_duration_ms = -1; endp->bts_end.output_enabled = 0; endp->net_end.output_enabled = 0; + endp->local_options.pkt_period_min = 0; + endp->local_options.pkt_period_max = 0; endp->conn_mode = -1; } diff --git a/openbsc/tests/mgcp/mgcp_test.ok b/openbsc/tests/mgcp/mgcp_test.ok index d5fb56f..43a7402 100644 --- a/openbsc/tests/mgcp/mgcp_test.ok +++ b/openbsc/tests/mgcp/mgcp_test.ok @@ -45,7 +45,7 @@ Requested packetetization period: 20-20 Connection mode: 2, BTS output disabled, NET output disabled Testing DLCX Detected packet duration: 20 -Requested packetetization period: 20-20 +Requested packetization period not set Connection mode: 0, BTS output enabled, NET output enabled Testing CRCX_ZYN Packet duration not set -- 1.7.9.5