From patchwork Tue Nov 2 00:55:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 516604 Delivered-To: patch@linaro.org Received: by 2002:ad5:5208:0:0:0:0:0 with SMTP id p8csp3916757iml; Mon, 1 Nov 2021 17:57:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/oA3Tbxh58ba1H99k9HOnv1RwrN24DhgW7ZxHNcBLfJ7KIimOGhu4xObv1eR79Vx0YaN+ X-Received: by 2002:aa7:cd6a:: with SMTP id ca10mr42509383edb.79.1635814637158; Mon, 01 Nov 2021 17:57:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635814637; cv=none; d=google.com; s=arc-20160816; b=DJtLDLfMR18ZRbYa8w7ERk20av4RLY7Mibkpmi4bIs/iEpquqxY9URcGayhrfv1yx3 2PfJqZfDUCuLtd9Ct81/0hMn7rwZSsYtVh7Gt+Z2O5zvF1Mz+NsCps3Eci7Wd9xkB7S0 BpS8z+0uhkeHlST/sVvSIEIvkj8/rE13g/gLMDAP1Yh06yaCZEvQLUZ5RSRyaavUpX4h aQcMx6q854QPsQ+rk78C+4h++nILPWMOOinmOpfJq0e86jYb+LAmzNjGiyYMbdoEumX6 g9S5C3ZDpzGOrrE5lNC44zFeIpxZFGCNhJuR/pc5mPrMs07dn3lH4pGjpxgZM37ryOw8 5ltQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=t7g9XnB8UBjK+9R56k3Z8QAHZsrZM4biYxbh8lXubds=; b=QGpx++ohO1mtKPvORLyadtOJ2i3xEfhj9GfeSbQNS+hAbVRz1ERnO9nz+hor1JYKVT HyPuC3gakx1j4a0M4GCrYECq6sIhVQBHpsSvXr1kZrpt3bC/b23SFianFVliY4t7WKk9 bWaXWbjlGkNr+wxoP3jFIdWflcrSJb0uq0NWmexyJ6+h96CpR3HViunVDUaH5+pgXWcH 8Q33xy1M15HIZ5id5WV20uMhg7xew8tNcQ4o46JCGrbpo7oVoPyF6U8w0nmITLxi6OkE /MZSwkKy/G3cwzQXtR42KILbjD4L+aqVJ9At9D3NQNdya5q+JJ4dIT16KuolJNbc1BxD 1r2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L19fzEvD; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id mp16si35839181ejc.680.2021.11.01.17.57.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Nov 2021 17:57:17 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L19fzEvD; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 88C7D83624; Tue, 2 Nov 2021 01:56:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="L19fzEvD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF7EE835FC; Tue, 2 Nov 2021 01:56:33 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 71F5D83600 for ; Tue, 2 Nov 2021 01:56:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pg1-x535.google.com with SMTP id j9so10513033pgh.1 for ; Mon, 01 Nov 2021 17:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t7g9XnB8UBjK+9R56k3Z8QAHZsrZM4biYxbh8lXubds=; b=L19fzEvDrElzGVdw9l01ORFCXkNht1W58rZ6wEZ4ygQjMyj4ca0/UGWJjdHCCwJ5iO 5jSD5jaHVpZv0rCQF9ojliBas8iY/P8iwQsMkpK5hi8pClZicBL3gflG7DmHnqsnglgL QLWED3IfgooMmp0y2hOT5F3K/NmThUlMw638HHa9qZCNEKVMGioXnNSPPfFPtOPPUhTu SCkK/Sig5f3l7tYK6kxnf5oS+RN16+b7h5u3ZaVQ4shkR7MlHDL87Ifvqn0vcSdrXSHG BeBBqdMNw6BAXKCSrzgZyNWD5HxpJlV8DoI+xibjGciUh8cI9DagfvYRwIg3S6+owMtb voGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t7g9XnB8UBjK+9R56k3Z8QAHZsrZM4biYxbh8lXubds=; b=JxLAYEEyOeumUfghQB/1S5fH9iBA1gxWBMyJitGcOYdk6PqQmo+veZ9MoF2uzr4tl3 ruUb7ZXWD9WOR0sBSrBUXDuSPA4Xc5BMEoL7Mb0M0nA6PJIZ5vWh1w4Dwxlu8cPdJufa b5Qk+qCLsEctxRWgsiAE+JSNwFdS2YViisKE8zHEbDgOig0ulHMWOXH5Cq+4Kb291dIT Nm9DHfeFB7xiULS/6Jbxxt5i6p2ppw5pWDuj4uOB3df1b6rKNV5r0t0cXrcPlmkKccpW Oie0iAd7Oi/IuX1+Pt/0w0NEkwx/5ydKS/QWhTT2esyVw7+tkqXpmspASrwiDM3dVQ8Q wxuw== X-Gm-Message-State: AOAM531sRR6ckJ5zx3Zq/MciUjkKIF6tu9wPHeLfM+JKxj2l6hfAB96g dvUpf2EFFnZZzKOAStBC8iR/SQ== X-Received: by 2002:a63:33cb:: with SMTP id z194mr24934973pgz.380.1635814569676; Mon, 01 Nov 2021 17:56:09 -0700 (PDT) Received: from localhost.localdomain ([2400:4050:c3e1:100:a475:65cc:d4b7:aaf5]) by smtp.gmail.com with ESMTPSA id n29sm12305596pfv.29.2021.11.01.17.56.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Nov 2021 17:56:09 -0700 (PDT) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de, sjg@chromium.org Cc: ilias.apalodimas@linaro.org, sughosh.ganu@linaro.org, masami.hiramatsu@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v6 08/12] test/py: efi_capsule: align with the syntax change of mkeficapsule Date: Tue, 2 Nov 2021 09:55:08 +0900 Message-Id: <20211102005512.96019-9-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211102005512.96019-1-takahiro.akashi@linaro.org> References: <20211102005512.96019-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Since the syntax of mkeficapsule was changed in the previous commit, we need to modify command line arguments in a pytest script. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass --- test/py/tests/test_efi_capsule/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.33.0 diff --git a/test/py/tests/test_efi_capsule/conftest.py b/test/py/tests/test_efi_capsule/conftest.py index 27c05971ca32..a5a25c53dcb4 100644 --- a/test/py/tests/test_efi_capsule/conftest.py +++ b/test/py/tests/test_efi_capsule/conftest.py @@ -80,10 +80,10 @@ def efi_capsule_data(request, u_boot_config): check_call('cd %s; %s/tools/mkimage -f uboot_bin_env.its uboot_bin_env.itb' % (data_dir, u_boot_config.build_dir), shell=True) - check_call('cd %s; %s/tools/mkeficapsule --fit uboot_bin_env.itb --index 1 Test01' % + check_call('cd %s; %s/tools/mkeficapsule --index 1 --fit uboot_bin_env.itb Test01' % (data_dir, u_boot_config.build_dir), shell=True) - check_call('cd %s; %s/tools/mkeficapsule --raw u-boot.bin.new --index 1 Test02' % + check_call('cd %s; %s/tools/mkeficapsule --index 1 --raw u-boot.bin.new Test02' % (data_dir, u_boot_config.build_dir), shell=True) if capsule_auth_enabled: