<p style="white-space: pre-wrap; word-wrap: break-word;">-1 for not using f_vty_config. The other comment is optional.</p><p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14402">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14402/1/hlr/HLR_Tests.ttcn">File hlr/HLR_Tests.ttcn:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14402/1/hlr/HLR_Tests.ttcn@364">Patch Set #1, Line 364:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">        f_vty_transceive(VTY, "configure terminal");<br>        f_vty_transceive(VTY, "hlr");<br>       if (enable) {<br>         f_vty_transceive(VTY, "store-imei");<br>        } else {<br>              f_vty_transceive(VTY, "no store-imei");<br>     }<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">we do have elegant helper functions for this, see f_vty_config() for simple cases in the root node, and f_vty_config2() which traverses a path. See examples in BTS_Tests.ttcn and MSC_Tests.ttcn</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14402/1/hlr/HLR_Tests.ttcn@602">Patch Set #1, Line 602:</a> <code style="font-family:monospace,monospace">          setverdict(fail, "Unexpected CHECK IMEI ERROR Cause");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">if you have the data aleady in 'ret', it might be useful to append it to the setverdict statement like "setverdict(fail, "Unexpected ....", ret)"  and hence give more context to the [human] reader of a log output.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14402">change 14402</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/+/14402"/><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: I97c8462f0817149feadd0c4865e3df6c2af92a80 </div>
<div style="display:none"> Gerrit-Change-Number: 14402 </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-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 08 Jun 2019 10:05:24 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>