Received: from eggs.gnu.org ([2001:4830:134:3::10]:60094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baSKc-0004fw-1O for qemu-devel@nongnu.org; Thu, 18 Aug 2016 14:46:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baSKX-0002B2-Ut for qemu-devel@nongnu.org; Thu, 18 Aug 2016 14:46:21 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:44080 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baSKX-0002Ay-Po for qemu-devel@nongnu.org; Thu, 18 Aug 2016 14:46:17 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u7IIiH7R034055 for ; Thu, 18 Aug 2016 14:46:17 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0b-001b2d01.pphosted.com with ESMTP id 24vky57axs-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 18 Aug 2016 14:46:16 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 18 Aug 2016 19:46:15 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id DB6AD2190046 for ; Thu, 18 Aug 2016 19:45:36 +0100 (BST) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u7IIkCAi7930158 for ; Thu, 18 Aug 2016 18:46:12 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u7IIkCta013445 for ; Thu, 18 Aug 2016 12:46:12 -0600 From: Sascha Silbe Date: Thu, 18 Aug 2016 20:46:01 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <1471545963-11720-1-git-send-email-silbe@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH for-v2.7 v2 0/2] test-logging: don't hard-code paths in /tmp List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Paolo Bonzini Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Markus Armbruster , Peter Maydell This version should be good enough for inclusion in 2.7. I kept the temporary directory removal function local to test-logging for now, only cleaning up a single directory level. We can still factor it out and make it more generic in the 2.8 cycle. For 2.7 I'd rather stick with a minimal approach as it's very late in the cycle. Tested successfully with the centos6 docker image. Apart from a hang (tests/test-qga) and a race condition (tests/acpi-test-disk.raw missing) that both happen even without my patches, it also works well on Ubuntu 14.04. Feel free to perform any additional fixup required to land this in rc4; I might not be around again until Tuesday. Sascha Silbe (2): glib: add compatibility implementation for g_dir_make_tmp() test-logging: don't hard-code paths in /tmp include/glib-compat.h | 21 +++++++++++++++++++++ tests/test-logging.c | 48 +++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 62 insertions(+), 7 deletions(-) -- 1.9.1