From: Wei Liu Subject: [PATCH OSSTEST v2] mg-execute-flight: create tmp directory before using it Date: Mon, 7 Dec 2015 14:51:07 +0000 Message-ID: <1449499867-12238-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a5x86-00022v-10 for xen-devel@lists.xenproject.org; Mon, 07 Dec 2015 14:51:06 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: ian.jackson@eu.citrix.com, Wei Liu , ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: Wei Liu --- 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