From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4ip5-0007EJ-5M for qemu-devel@nongnu.org; Wed, 18 Oct 2017 03:31:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4ip1-0000Lv-7J for qemu-devel@nongnu.org; Wed, 18 Oct 2017 03:31:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58504) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e4ip0-0000IH-SQ for qemu-devel@nongnu.org; Wed, 18 Oct 2017 03:31:23 -0400 Date: Wed, 18 Oct 2017 15:31:15 +0800 From: Fam Zheng Message-ID: <20171018073115.GA9443@lemon> References: <20171017071247.32355-1-peterx@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20171017071247.32355-1-peterx@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] docker: cleanup temp directory after test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Xu Cc: qemu-devel@nongnu.org, Alex =?iso-8859-1?Q?Benn=E9e?= , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= On Tue, 10/17 15:12, Peter Xu wrote: > There are temp directories named "docker-src.*" after doing docker > tests. I don't see much point in keeping that (it only contains the > qemu.tar which is exactly current tree, and the copied "run" file). > Let's remove it after test finished. >=20 > CC: "Alex Benn=E9e" > CC: Fam Zheng > CC: "Philippe Mathieu-Daud=E9" > Signed-off-by: Peter Xu > --- > tests/docker/Makefile.include | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.incl= ude > index 6f9ea196a7..c8fbd37127 100644 > --- a/tests/docker/Makefile.include > +++ b/tests/docker/Makefile.include > @@ -151,6 +151,8 @@ docker-run: docker-qemu-src > $(IMAGE) \ > /var/tmp/qemu/run \ > $(TEST), " RUN $(TEST) in ${IMAGE}") > + $(call quiet-command, rm -r $(DOCKER_SRC_COPY), \ > + " CLEANUP $(DOCKER_SRC_COPY)") > =20 > # Run targets: > # > --=20 > 2.13.5 >=20 >=20 Applied, thanks! Fam