All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH OSSTEST] mg-execute-flight: create tmp directory if it doesn't exist
@ 2015-12-07 14:09 Wei Liu
  2015-12-07 14:42 ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Wei Liu @ 2015-12-07 14:09 UTC (permalink / raw)
  To: Xen-devel; +Cc: ian.jackson, Wei Liu, ian.campbell

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 mg-execute-flight | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mg-execute-flight b/mg-execute-flight
index 8b2c21c..dd64aef 100755
--- a/mg-execute-flight
+++ b/mg-execute-flight
@@ -66,6 +66,8 @@ export OSSTEST_RESOURCE_PREINFO="[adhoc $blessing]\
 
 : ${OSSTEST_HTMLPUB_DIR:=`getconfig Logs`}
 
+if [ ! -d tmp ]; then mkdir tmp; fi
+
 (./sg-execute-flight $flight $blessing ||
  echo "sg-execute-flight $flight $blessing failed: $?") \
  >tmp/$flight.transcript 2>&1
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-07 14:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 14:09 [PATCH OSSTEST] mg-execute-flight: create tmp directory if it doesn't exist Wei Liu
2015-12-07 14:42 ` Ian Campbell
2015-12-07 14:45   ` 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.