All of lore.kernel.org
 help / color / mirror / Atom feed
* [OSSTEST PATCH] cri-args-hostlists: Do not include transcript in reports
@ 2020-05-14 14:16 Ian Jackson
  0 siblings, 0 replies; only message in thread
From: Ian Jackson @ 2020-05-14 14:16 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson

These transcripts are huge and not useful.

Still include them if sg-secute-flight failed.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 cri-args-hostlists | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/cri-args-hostlists b/cri-args-hostlists
index 3578fe1c..28d576db 100644
--- a/cri-args-hostlists
+++ b/cri-args-hostlists
@@ -86,8 +86,11 @@ execute_flight () {
         ./sg-execute-flight $1 $2 >tmp/$1.transcript 2>&1
 	local rc=$?
 	set -e
-        cat tmp/$1.transcript
-	test $rc = 0
+        if [ "$rc" != 0 ]; then
+		cat tmp/$1.transcript
+		echo "rc=$rc"
+		exit 1
+	fi
 }
 
 start_email () {
-- 
2.20.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-14 14:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-14 14:16 [OSSTEST PATCH] cri-args-hostlists: Do not include transcript in reports Ian Jackson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.