<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16482">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">library: VTY: Allow hyphens in VTY prompt<br><br>Old versions of osmo-pcu print "Osmo-PCU" as VTY prompt. This commit<br>allows supporting this kind of prompt.<br><br>Change-Id: Ia5acbbe5828901726f7f15c4a99d596e94914c4b<br>---<br>M library/Osmocom_VTY_Functions.ttcn<br>1 file changed, 3 insertions(+), 3 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/82/16482/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/Osmocom_VTY_Functions.ttcn b/library/Osmocom_VTY_Functions.ttcn</span><br><span>index b61a655..a1724e9 100644</span><br><span>--- a/library/Osmocom_VTY_Functions.ttcn</span><br><span>+++ b/library/Osmocom_VTY_Functions.ttcn</span><br><span>@@ -63,9 +63,9 @@</span><br><span> </span><br><span>               T.start;</span><br><span>             alt {</span><br><span style="color: hsl(0, 100%, 40%);">-                   [] pt.receive(pattern "\w+" & VTY_VIEW_SUFFIX) { };</span><br><span style="color: hsl(0, 100%, 40%);">-                       [] pt.receive(pattern "\w+\# ") { };</span><br><span style="color: hsl(0, 100%, 40%);">-                  [] pt.receive(pattern "\w+\(*\)\# ") { };</span><br><span style="color: hsl(120, 100%, 40%);">+                   [] pt.receive(pattern "[\w-]+" & VTY_VIEW_SUFFIX) { };</span><br><span style="color: hsl(120, 100%, 40%);">+                  [] pt.receive(pattern "[\w-]+\# ") { };</span><br><span style="color: hsl(120, 100%, 40%);">+                     [] pt.receive(pattern "[\w-]+\(*\)\# ") { };</span><br><span>                       [] pt.receive(t_vty_unknown) {</span><br><span>                               testcase.stop(fail, "VTY: Unknown Command");</span><br><span>                               };</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16482">change 16482</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/+/16482"/><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: Ia5acbbe5828901726f7f15c4a99d596e94914c4b </div>
<div style="display:none"> Gerrit-Change-Number: 16482 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>