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/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16975 ) Change subject: WIP ...................................................................... WIP Change-Id: I2cc5e41e33aac300d33887caed1cc3fbdffcbb17 --- M sccp/SCCP_Tests_RAW.ttcn 1 file changed, 19 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/75/16975/1 diff --git a/sccp/SCCP_Tests_RAW.ttcn b/sccp/SCCP_Tests_RAW.ttcn index 5996846..052b399 100644 --- a/sccp/SCCP_Tests_RAW.ttcn +++ b/sccp/SCCP_Tests_RAW.ttcn @@ -171,11 +171,18 @@ setverdict(pass); } -/* Verify sccp_demo_user answers a CR with a CC for PC and SSN set up to echo back */ +/* Verify sccp_demo_user answers a CR with a CC for PC and SSN set up to echo + back, but since no connection is requested, inactivty timers are not armed */ testcase TC_udt_without_cr_cc() runs on SCCP_Test_RAW_CT { var SCCP_PAR_Address calling, called; + var SCCP_MTP3_TRANSFERind rx; var octetstring data := f_rnd_octstring(f_rnd_int(100)); + /* Set T(iar) in sccp_demo_user low enough that it will trigger before other side + has time to keep alive with a T(ias). Keep recommended ratio of + T(iar) >= T(ias)*2 */ + g_demo_sccp_timer_ias := 2; + g_demo_sccp_timer_iar := 5; f_init_raw(mp_sccp_cfg[0]); f_sleep(1.0); @@ -185,6 +192,17 @@ mp_sccp_cfg[0].sio, mp_sccp_cfg[0].sccp_service_type)); f_tx_udt_exp(calling, called, data); + + /* Make sure no SCCP message is received at all, since no connection is active. */ + timer T := int2float(g_demo_sccp_timer_iar + 1); + T.start; + alt { + [] MTP3.receive { + setverdict(fail, "Unexpected MTP/SCCP received"); + self.stop; + } + [] T.timeout {} + } setverdict(pass); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16975 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I2cc5e41e33aac300d33887caed1cc3fbdffcbb17 Gerrit-Change-Number: 16975 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200121/258bfa06/attachment.htm>