[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST v2] mg-execute-flight: create tmp directory before using it



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

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.