<p>dexter <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18450">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">MGCP_Test: fix test vector in TC_amr_oa_bwe_rtp_conversion<br><br>The rtp payload test vector in TC_amr_oa_bwe_rtp_conversion is wrong, it<br>lacks the last byte which should be 0x00. Also the testvector is not<br>very well chossen since it after BWE conversion the actual payload does<br>not shrink (even if it looks like if it would because of the 0x00 byte<br>at the end). Lets pick a better payload from a real world trace that<br>actually shrinks by one byte when it is converted to BWE and use that<br>one.<br><br>Change-Id: Id4256049bbca49ad5c2eb0579128838ebae062f8<br>---<br>M mgw/MGCP_Test.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/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn</span><br><span>index 0de5308..be4e634 100644</span><br><span>--- a/mgw/MGCP_Test.ttcn</span><br><span>+++ b/mgw/MGCP_Test.ttcn</span><br><span>@@ -2082,8 +2082,12 @@</span><br><span>           setverdict(pass);</span><br><span>    }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ /* Note: The hexstrings used with the f_TC_amr_x_x_rtp_conversion test</span><br><span style="color: hsl(120, 100%, 40%);">+         * functions are real world AMR RTP payloads including AMR header. The</span><br><span style="color: hsl(120, 100%, 40%);">+         * payloads were extracted from a trace with known good payloads. */</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>       testcase TC_amr_oa_bwe_rtp_conversion() runs on dummy_CT {</span><br><span style="color: hsl(0, 100%, 40%);">-               f_TC_amr_x_x_rtp_conversion('100c4e9ba850e30d5d53d04de41e7c'O, '10d3a6ea1438c35754f41379079f'O, "octet-align=1", "octet-align=0");</span><br><span style="color: hsl(120, 100%, 40%);">+               f_TC_amr_x_x_rtp_conversion('2014e959f35fdfe5e9667ffbc088818088'O, '217a567cd7f7f97a599ffef022206022'O, "octet-align=1", "octet-align=0");</span><br><span>       }</span><br><span> </span><br><span>        testcase TC_amr_oa_oa_rtp_conversion() runs on dummy_CT {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/18450">change 18450</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/+/18450"/><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: Id4256049bbca49ad5c2eb0579128838ebae062f8 </div>
<div style="display:none"> Gerrit-Change-Number: 18450 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>