<p>Pau Espin Pedrol <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/12997">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">jenkins: Fix the test for journalctl if it isn't present<br><br>test -x for an empty string is still true. Check if the result of<br>command is empty or not. It seems to work for the negative case now.<br><br>Change-Id: I7e4326df155dae776481bf7824694b3fb47abcad<br>---<br>M contrib/jenkins-run.sh<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/jenkins-run.sh b/contrib/jenkins-run.sh</span><br><span>index 0b41247..4a76c09 100755</span><br><span>--- a/contrib/jenkins-run.sh</span><br><span>+++ b/contrib/jenkins-run.sh</span><br><span>@@ -30,7 +30,7 @@</span><br><span> </span><br><span> # tar up all results for archiving (optional)</span><br><span> cd "$trial_dir"</span><br><span style="color: hsl(0, 100%, 40%);">-if [ -x $(command -v journalctl) ]; then</span><br><span style="color: hsl(120, 100%, 40%);">+if [ ! -z "$(command -v journalctl)" ]; then</span><br><span>   journalctl -u ofono -o short-precise --since "${time_start}" > "$(readlink last_run)/ofono.log"</span><br><span> fi</span><br><span> tar czf "$base/${trial_dir}-run.tgz" "$(readlink last_run)"</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12997">change 12997</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/12997"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I7e4326df155dae776481bf7824694b3fb47abcad </div>
<div style="display:none"> Gerrit-Change-Number: 12997 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Holger Freyther <holger@freyther.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>