diff options
author | Harald Welte <laforge@osmocom.org> | 2023-08-31 17:18:42 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-09-01 08:29:01 +0000 |
commit | 5b2ce618b1d1e35dd0298679ffb7f56b8196cf04 (patch) | |
tree | 624a011ca0b9ba0ed9a5fa2f0138d2b1445e993d /stp | |
parent | 0d138c6f250903add74d7a5b4a5d4fe8ba47a1d5 (diff) |
stp: Don't expect a fixed SLS in IPA -> M3UA case
We are about to introduce a feature for SLS "randomization" in osmo-stp,
so let's modifiy our STP tests to permit any SLS in the M3UA messages
after IPA -> M3UA conversion.
Change-Id: Ib70322b80a72e3e7dc3155bca9e67b03efb413e0
Related: SYS#6543
Diffstat (limited to 'stp')
-rw-r--r-- | stp/STP_Tests.ttcn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stp/STP_Tests.ttcn b/stp/STP_Tests.ttcn index 48214be2..e2e5336a 100644 --- a/stp/STP_Tests.ttcn +++ b/stp/STP_Tests.ttcn @@ -114,7 +114,7 @@ testcase TC_ipa_to_m3ua() runs on IPA_M3UA_CT { /* expect to receive it via M3UA */ var template (present) M3UA_Protocol_Data rx_pd; - rx_pd := tr_M3UA_protocol_data(pc_sender, pc_receiver, c_M3UA_SI_SCCP, '00'O, '00'O, '00'O, sccp_enc); + rx_pd := tr_M3UA_protocol_data(pc_sender, pc_receiver, c_M3UA_SI_SCCP, '00'O, '00'O, ?, sccp_enc); f_M3UA_exp(0, tr_M3UA_DATA(rctx_receiver, rx_pd)); f_clear_m3ua(); @@ -148,7 +148,7 @@ testcase TC_ipa_to_m3ua_ni() runs on IPA_M3UA_CT { /* expect to receive it via M3UA */ var template (present) M3UA_Protocol_Data rx_pd; rx_pd := tr_M3UA_protocol_data(pc_sender, pc_receiver, c_M3UA_SI_SCCP, c_M3UA_NI_NATIONAL, - '00'O, '00'O, sccp_enc); + '00'O, ?, sccp_enc); f_M3UA_exp(0, tr_M3UA_DATA(rctx_receiver, rx_pd)); f_vty_config2(VTY, {"cs7 instance 0"}, "network-indicator international"); f_clear_m3ua(); @@ -185,7 +185,7 @@ testcase TC_ipa_to_m3ua_patch_sccp() runs on IPA_M3UA_CT { /* expect to receive it via M3UA */ var template (present) M3UA_Protocol_Data rx_pd; - rx_pd := tr_M3UA_protocol_data(pc_sender, pc_receiver, c_M3UA_SI_SCCP, '00'O, '00'O, '00'O, + rx_pd := tr_M3UA_protocol_data(pc_sender, pc_receiver, c_M3UA_SI_SCCP, '00'O, '00'O, ?, enc_PDU_SCCP(sccp_exp)); f_M3UA_exp(0, tr_M3UA_DATA(rctx_receiver, rx_pd)); |