<p>osmith <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26591">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  pespin: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ttcn3-tcpdump-start.sh: don't hardcode binary paths<br><br>After replacing debian-stretch-titan with debian-bullseye-titan, tcpdump<br>does not run anymore, the binary is in /usr/bin and not in /usr/sbin.<br><br>Related: OS#4969<br>Change-Id: I18c88c45c7522c1120ca42cd48d67fe8f155cd39<br>---<br>M ttcn3-tcpdump-start.sh<br>1 file changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/ttcn3-tcpdump-start.sh b/ttcn3-tcpdump-start.sh</span><br><span>index e905d8a..9b7a8b5 100755</span><br><span>--- a/ttcn3-tcpdump-start.sh</span><br><span>+++ b/ttcn3-tcpdump-start.sh</span><br><span>@@ -1,11 +1,11 @@</span><br><span> #!/bin/sh</span><br><span> </span><br><span> PIDFILE_PCAP=/tmp/pcap.pid</span><br><span style="color: hsl(0, 100%, 40%);">-TCPDUMP=/usr/sbin/tcpdump</span><br><span style="color: hsl(0, 100%, 40%);">-DUMPCAP=/usr/bin/dumpcap</span><br><span style="color: hsl(120, 100%, 40%);">+TCPDUMP=$(command -v tcpdump)</span><br><span style="color: hsl(120, 100%, 40%);">+DUMPCAP=$(command -v dumpcap)</span><br><span> </span><br><span> PIDFILE_NETCAT=/tmp/netcat.pid</span><br><span style="color: hsl(0, 100%, 40%);">-NETCAT=/bin/nc</span><br><span style="color: hsl(120, 100%, 40%);">+NETCAT=$(command -v nc)</span><br><span> GSMTAP_PORT=4729</span><br><span> </span><br><span> TESTCASE=$1</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26591">change 26591</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/+/26591"/><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: I18c88c45c7522c1120ca42cd48d67fe8f155cd39 </div>
<div style="display:none"> Gerrit-Change-Number: 26591 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </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: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>