<p style="white-space: pre-wrap; word-wrap: break-word;">Supporting /usr/local/bin/dumpcap is important IMHO, the rest are nitpicks.</p><p>Patch set 4:<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/13253">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/13253/4/ttcn3-tcpdump-start.sh">File ttcn3-tcpdump-start.sh:</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/13253/4/ttcn3-tcpdump-start.sh@5">Patch Set #4, Line 5:</a> <code style="font-family:monospace,monospace">DUMPCAP=/usr/bin/dumpcap</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Mine is in /usr/local/bin/dumpcap. Do we need to use the absolute path?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13253/4/ttcn3-tcpdump-start.sh@30">Patch Set #4, Line 30:</a> <code style="font-family:monospace,monospace">/sbin/setcap</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(might not be installed on all distributions there, I would have checked with "command")</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/13253/4/ttcn3-tcpdump-start.sh@37">Patch Set #4, Line 37:</a> <code style="font-family:monospace,monospace">fi</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">How about telling the user why dumpcap is not used?</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> else<br>       echo "NOTE: dumpcap doesn't have cap_net_{admin,raw} (or 'setcap' is missing to check it), falling back to 'sudo tcpdump'."<br> fi</pre></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/13253/4/ttcn3-tcpdump-stop.sh">File ttcn3-tcpdump-stop.sh:</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/13253/4/ttcn3-tcpdump-stop.sh@35">Patch Set #4, Line 35:</a> <code style="font-family:monospace,monospace">        DUMPER=`ps -q $(cat "$PIDFILE") -o comm=`</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Consider replacing `` with $().</p><p style="white-space: pre-wrap; word-wrap: break-word;">https://github.com/koalaman/shellcheck/wiki/Sc2006</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> DUMPER="$(ps -q "$(cat "$PIDFILE")" -o comm=)"</pre></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13253">change 13253</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/13253"/><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-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I77df04d51a469c924cf727f0596cc33565909746 </div>
<div style="display:none"> Gerrit-Change-Number: 13253 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Daniel Willmann <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: tnt <tnt@246tNt.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 18 Mar 2019 14:58:39 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>