<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcap/+/16532">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Cosmetic: README.md: document how to run tests<br><br>Mention the setcap command, that makes external tests work.<br><br>Related: OS#4317<br>Change-Id: Idc18925f0b71164b52248ca9312b997681d15241<br>---<br>M README.md<br>1 file changed, 9 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/32/16532/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/README.md b/README.md</span><br><span>index b65b877..791e28f 100644</span><br><span>--- a/README.md</span><br><span>+++ b/README.md</span><br><span>@@ -40,6 +40,15 @@</span><br><span> Please see the *contrib/osmo-pcap-server.cfg* and *contrib/osmo-pcap-client.cfg*</span><br><span> file in the repository</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+## Running tests</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+In order to run all tests, do the following:</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+$ ./configure --enable-external-tests</span><br><span style="color: hsl(120, 100%, 40%);">+$ make -j5</span><br><span style="color: hsl(120, 100%, 40%);">+$ sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' src/osmo-pcap-client</span><br><span style="color: hsl(120, 100%, 40%);">+$ make check</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> ## Wishlist/TODO</span><br><span> </span><br><span> - [ ] Add non-blocking TLS (probably GNUtls) support between client and server.</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcap/+/16532">change 16532</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-pcap/+/16532"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcap </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Idc18925f0b71164b52248ca9312b997681d15241 </div>
<div style="display:none"> Gerrit-Change-Number: 16532 </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>