<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/20410">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">tests: do not ignore stderr of vty_test, also match it<br><br>This change is needed for I4e27d6e89d3f851b5ea4f00da01e7093afa537b2.<br><br>Change-Id: Ia601ecd2e69aeb6669e0e2e5dd60135a751611e7<br>---<br>M tests/testsuite.at<br>A tests/vty/vty_test.err<br>2 files changed, 63 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/10/20410/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/testsuite.at b/tests/testsuite.at</span><br><span>index 493c16f..8b6a20a 100644</span><br><span>--- a/tests/testsuite.at</span><br><span>+++ b/tests/testsuite.at</span><br><span>@@ -204,8 +204,9 @@</span><br><span> AT_SETUP([vty])</span><br><span> AT_KEYWORDS([vty])</span><br><span> cat $abs_srcdir/vty/vty_test.ok > expout</span><br><span style="color: hsl(120, 100%, 40%);">+cat $abs_srcdir/vty/vty_test.err > experr</span><br><span> cp $abs_srcdir/vty/*.cfg .</span><br><span style="color: hsl(0, 100%, 40%);">-AT_CHECK([$abs_top_builddir/tests/vty/vty_test], [0], [expout], [ignore])</span><br><span style="color: hsl(120, 100%, 40%);">+AT_CHECK([$abs_top_builddir/tests/vty/vty_test], [0], [expout], [experr])</span><br><span> AT_CLEANUP</span><br><span> </span><br><span> AT_SETUP([gprs-bssgp])</span><br><span>diff --git a/tests/vty/vty_test.err b/tests/vty/vty_test.err</span><br><span>new file mode 100644</span><br><span>index 0000000..8ad4fd9</span><br><span>--- /dev/null</span><br><span>+++ b/tests/vty/vty_test.err</span><br><span>@@ -0,0 +1,61 @@</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 1</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 3</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 1</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 3</span><br><span style="color: hsl(120, 100%, 40%);">+There is no such command.</span><br><span style="color: hsl(120, 100%, 40%);">+Error occurred during reading the below line:</span><br><span style="color: hsl(120, 100%, 40%);">+ level1 b</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Inconsistent indentation -- leading whitespace must match adjacent lines, and</span><br><span style="color: hsl(120, 100%, 40%);">+indentation must reflect child node levels. A mix of tabs and spaces is</span><br><span style="color: hsl(120, 100%, 40%);">+allowed, but their sequence must not change within a child block.</span><br><span style="color: hsl(120, 100%, 40%);">+Error occurred during reading the below line:</span><br><span style="color: hsl(120, 100%, 40%);">+ level1 b</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Inconsistent indentation -- leading whitespace must match adjacent lines, and</span><br><span style="color: hsl(120, 100%, 40%);">+indentation must reflect child node levels. A mix of tabs and spaces is</span><br><span style="color: hsl(120, 100%, 40%);">+allowed, but their sequence must not change within a child block.</span><br><span style="color: hsl(120, 100%, 40%);">+Error occurred during reading the below line:</span><br><span style="color: hsl(120, 100%, 40%);">+              child1 b</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Error occurred during reading the below line:</span><br><span style="color: hsl(120, 100%, 40%);">+return-warning</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+% Ignoring deprecated 'logging level depr (debug|info|notice|error|fatal)'</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 1</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 3</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 2</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 1</span><br><span style="color: hsl(120, 100%, 40%);">+Got VTY event: 3</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/20410">change 20410</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/libosmocore/+/20410"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ia601ecd2e69aeb6669e0e2e5dd60135a751611e7 </div>
<div style="display:none"> Gerrit-Change-Number: 20410 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>