<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/14300">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Harald Welte: Looks good to me, approved
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">msc: Enable/disable osmux always based on test<br><br>Initially it was thought safe to only enable it since the osmux test was<br>at the end, but actually IU tests run after it, and those don't expect<br>osmux to be enabled.<br><br>This way we also always match osmo-msc osmux state with whatever the<br>test expects (and sets through f_init()).<br><br>Change-Id: I8fb48af7d37f1a2391a39c19f5ec5064cd5869d2<br>---<br>M msc/MSC_Tests.ttcn<br>1 file changed, 5 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn</span><br><span>index 16f7b9b..40e0720 100644</span><br><span>--- a/msc/MSC_Tests.ttcn</span><br><span>+++ b/msc/MSC_Tests.ttcn</span><br><span>@@ -330,6 +330,11 @@</span><br><span>      f_vty_config(MSCVTY, "network", "authentication optional");</span><br><span>      f_vty_config(MSCVTY, "msc", "assign-tmsi");</span><br><span>      f_vty_config(MSCVTY, "network", "encryption a5 0");</span><br><span style="color: hsl(120, 100%, 40%);">+       if (osmux) {</span><br><span style="color: hsl(120, 100%, 40%);">+          f_vty_config(MSCVTY, "msc", "osmux on");</span><br><span style="color: hsl(120, 100%, 40%);">+  } else {</span><br><span style="color: hsl(120, 100%, 40%);">+              f_vty_config(MSCVTY, "msc", "osmux off");</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span> }</span><br><span> </span><br><span> /* Initialize for a direct connection to BSSAP. This function is an alternative</span><br><span>@@ -1746,7 +1751,6 @@</span><br><span> testcase TC_lu_and_mt_call_osmux() runs on MTC_CT {</span><br><span>         var BSC_ConnHdlr vc_conn;</span><br><span>    f_init(1, false, true, true);</span><br><span style="color: hsl(0, 100%, 40%);">-   f_vty_config(MSCVTY, "msc", "osmux on");</span><br><span> </span><br><span>     vc_conn := f_start_handler(refers(f_tc_lu_and_mt_call), 39, 0, true, true);</span><br><span>  vc_conn.done;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/14300">change 14300</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/14300"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I8fb48af7d37f1a2391a39c19f5ec5064cd5869d2 </div>
<div style="display:none"> Gerrit-Change-Number: 14300 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>