From patchwork Fri Jun 2 18:56:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 770563 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wfYPR0HxGz9s76 for ; Sat, 3 Jun 2017 04:57:46 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bOWrZ/kH"; dkim-atps=neutral Received: from localhost ([::1]:51133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGrlY-0001uX-Jd for incoming@patchwork.ozlabs.org; Fri, 02 Jun 2017 14:57:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGrkp-0001uB-5D for qemu-devel@nongnu.org; Fri, 02 Jun 2017 14:57:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGrko-0006Cd-D4 for qemu-devel@nongnu.org; Fri, 02 Jun 2017 14:56:59 -0400 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:36307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGrko-0006CM-8P for qemu-devel@nongnu.org; Fri, 02 Jun 2017 14:56:58 -0400 Received: by mail-oi0-x234.google.com with SMTP id h4so102669670oib.3 for ; Fri, 02 Jun 2017 11:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ATC2iyV5Jjb3kSf7tH7bAi1bV4tPeD5+KdKfuwUaIPk=; b=bOWrZ/kHemW2oyIaGy8Ztm+e4uQ+qzUiAgN9jZ457f9Ku0YhqQy36iOcl1UxWN+jji uafKhzUS9DzCrmsSN8sTgc4rxHEqXDdVj/wOgEWq+XAgY7uyh6ptbkFcOdt0graKJNe/ Ku9GoXXwRiFTzSQ1/wSye748vAiAtyCbPzqpdYxuGHofV5BtSltn5uuiCQx3ja4jD6C7 zdGbM3Aa03Rnm2pFI1ye6peQ8TNOVE8UpIgwljZGBhkgcG+TfEG+cHwZsaZeaPBSxqJo +kuo8roKItLKqECyS6pra5SnPiJgwxrqNOk6fhrX73gYNd+2aL++pzHt+3DvnFE+u7yX Yp+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ATC2iyV5Jjb3kSf7tH7bAi1bV4tPeD5+KdKfuwUaIPk=; b=H9OvJK2fkmeO46n3JQpBMsYI9cVDrQ0OvV6UhrKY9dtAzmBe+HquFoDJdYpjFeIA6j FuQHytKrM/EzsVIVlfeMa+IpohsfgTSrUyTBlDjSC5m1trbBWwWaD01hLEArJ9NxSmUa kLl7e4iPj8KMNMjitDMEyvYNXTlgA7ms717R+EYhH8h3/vOJH7GT34LgR93UFrHSkcPa v68kRhUG6YnDtZwNUJUao9zQcgZlQRS9LODN7Hq4QSEwU8VDS9U1H5Z70xEhFeegjZRt h+QEGVTS5t8MQ3pJ5FUT//Md6LsVf1Uvm5qctVmOHrXNIMxYKYmYAxcw8v72A9vB06Hd mX9A== X-Gm-Message-State: AODbwcCfxl9s8PRba7ycK0LkFMA22cx64Ul8huJW7HB+1xEudFK92H// uK5+jmmAVkDRD+YD3NjL6w== X-Received: by 10.202.242.84 with SMTP id q81mr5079745oih.47.1496429817320; Fri, 02 Jun 2017 11:56:57 -0700 (PDT) Received: from yoga.attlocal.net ([2602:30a:2c37:1a00::43]) by smtp.gmail.com with ESMTPSA id z2sm1345048ota.1.2017.06.02.11.56.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jun 2017 11:56:56 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng Date: Fri, 2 Jun 2017 15:56:07 -0300 Message-Id: <20170602185630.5059-2-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170602185630.5059-1-f4bug@amsat.org> References: <20170602185630.5059-1-f4bug@amsat.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::234 Subject: [Qemu-devel] [PATCH v5 01/24] docker: let _copy_with_mkdir() sub_path argument be optional X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée --- tests/docker/docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 8747f6a440..6ddc6e4c2a 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -52,7 +52,7 @@ def _guess_docker_command(): raise Exception("Cannot find working docker command. Tried:\n%s" % \ commands_txt) -def _copy_with_mkdir(src, root_dir, sub_path): +def _copy_with_mkdir(src, root_dir, sub_path='.'): """Copy src into root_dir, creating sub_path as needed.""" dest_dir = os.path.normpath("%s/%s" % (root_dir, sub_path)) try: