<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25159">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pcu: f_tc_paging_ps_from_sgsn: move init/shutdown<br><br>Prepare to use this shared function in a new test with additional<br>commands between init, the function and shutdown.<br><br>Related: SYS#4878<br>Change-Id: I6fd523c7f5ab496b3356cf896a8ceaf9b6e874d2<br>---<br>M pcu/PCU_Tests.ttcn<br>1 file changed, 17 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/59/25159/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn</span><br><span>index 804644a..f77c4c1 100644</span><br><span>--- a/pcu/PCU_Tests.ttcn</span><br><span>+++ b/pcu/PCU_Tests.ttcn</span><br><span>@@ -3185,9 +3185,6 @@</span><br><span>     f_init_gprs_ms();</span><br><span>    ms := g_ms[0]; /* We only use first MS in this test */</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-      /* Initialize the PCU interface abstraction */</span><br><span style="color: hsl(0, 100%, 40%);">-  f_init_raw(testcasename());</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span>  f_statsd_reset();</span><br><span> </span><br><span>        /* Establish BSSGP connection to the PCU */</span><br><span>@@ -3215,20 +3212,33 @@</span><br><span>                };</span><br><span>           f_statsd_expect(expect);</span><br><span>     }</span><br><span style="color: hsl(120, 100%, 40%);">+}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+testcase TC_paging_ps_from_sgsn_sign_ptmsi() runs on RAW_PCU_Test_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+        /* Initialize the PCU interface abstraction */</span><br><span style="color: hsl(120, 100%, 40%);">+        f_init_raw(testcasename());</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ f_tc_paging_ps_from_sgsn(0, true);</span><br><span> </span><br><span>       f_shutdown(__BFILE__, __LINE__, final := true);</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-testcase TC_paging_ps_from_sgsn_sign_ptmsi() runs on RAW_PCU_Test_CT {</span><br><span style="color: hsl(0, 100%, 40%);">-  f_tc_paging_ps_from_sgsn(0, true);</span><br><span style="color: hsl(0, 100%, 40%);">-}</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span> testcase TC_paging_ps_from_sgsn_sign() runs on RAW_PCU_Test_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+       /* Initialize the PCU interface abstraction */</span><br><span style="color: hsl(120, 100%, 40%);">+        f_init_raw(testcasename());</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>        f_tc_paging_ps_from_sgsn(0);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+        f_shutdown(__BFILE__, __LINE__, final := true);</span><br><span> }</span><br><span> </span><br><span> testcase TC_paging_ps_from_sgsn_ptp() runs on RAW_PCU_Test_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+   /* Initialize the PCU interface abstraction */</span><br><span style="color: hsl(120, 100%, 40%);">+        f_init_raw(testcasename());</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>        f_tc_paging_ps_from_sgsn(mp_gb_cfg.bvc[0].bvci);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+    f_shutdown(__BFILE__, __LINE__, final := true);</span><br><span> }</span><br><span> </span><br><span> /* Verify osmo-pcu handles DL UNIT_DATA from SGSN with IMSI IE correctly. See OS#4729 */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25159">change 25159</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/c/osmo-ttcn3-hacks/+/25159"/><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-Change-Id: I6fd523c7f5ab496b3356cf896a8ceaf9b6e874d2 </div>
<div style="display:none"> Gerrit-Change-Number: 25159 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>