From patchwork Tue Feb 1 01:27:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 538937 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp465952imr; Mon, 31 Jan 2022 17:33:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyG1iYiKLL9mgbcKD1AkF3kQcQfNPuaomHnK3Urc59Jd86JRhEJWe+9lUxEGCp27JUOd4n3 X-Received: by 2002:a50:aadd:: with SMTP id r29mr23372636edc.236.1643679190672; Mon, 31 Jan 2022 17:33:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643679190; cv=none; d=google.com; s=arc-20160816; b=taeGnSDZj0AIDMPDnBwYulbwxOqFh/hYyLD8ofI9+ROIlEF1d8AOiKXmT1kvKb4JA5 WJomfSgOGmiBj0l43uIW1GSiSARk1ahLA93NmeUcBeJZskHkXxiaRyefQo0d5Kt/sb1i X37CU7HHDUtDyi8sZVUF/U0sDp8gcHoB078lGttGd9kFeQGt+br/V90eldQuCmorDnXD CuyLkxGGkrT1ICb0iYjqT1gQPvHz2FjldjGAnaCqM92drnBXBR/RrQj0x1DdcB+nUZPG pUyxB5EtMl8Xy5VoJyPcmFeGyCaL2lxQbKrJndjqwryQU9ktaQSeVinnaeCheQwS+16j t8uA== 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=dRz+pYre7G66GxmnD4c+PKAAw7SxJFLHJCc2sklu4uM=; b=DlzbzvMppGJhA+SfnICehJuwGyBZAYmW24+yWypaGh/7OI83kfE2vCGCjhRf45M1WJ 39hQ9wILdxgF0Ae70Z6nLh7zD6O9criOoKmpQDSVAXPKrJg42ishl7K0QpgyOTOnoolU W1s+1hpzBR4P9mCAbfhw42qcL9JWKBGMBht2hGC3C/BKQckqCOQ2CgXTy+4BAZ41MLVp hChNVgtX9jtnpq7QdV5UI+QLHGljQxa460MfUuW3giQF5IOjiF6pEH4p70M0v6uLlAHc zzYaQ+eBojD/z1Fzz8hpEwFSLHjEh2M+rDq6oxR12g+wlMhtsCjzKPU87OrXm68f+r8g g1iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YLBS9G+I; 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 n6si8724429ejl.34.2022.01.31.17.33.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 17:33:10 -0800 (PST) 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=YLBS9G+I; 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 4E1F1836D2; Tue, 1 Feb 2022 02:32:19 +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="YLBS9G+I"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 35C7F8359C; Tue, 1 Feb 2022 02:32:16 +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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 E9CB9836D2 for ; Tue, 1 Feb 2022 02:32:07 +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-pf1-x432.google.com with SMTP id i17so14411665pfq.13 for ; Mon, 31 Jan 2022 17:32:07 -0800 (PST) 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=dRz+pYre7G66GxmnD4c+PKAAw7SxJFLHJCc2sklu4uM=; b=YLBS9G+IFQYvo4JIH0rTwKdEPjA3QnPwSfD3mpTJ6ApCXAshe9dQfkrq1QsDVxF4Il sKj2jatAkhrp9qmkQ33RaKHKsmI94lwDrg/NofSgr6ELGnR6oIe7GLzO444x6KYyo7s/ fToMX5stUtEJ27g1ZxB7ZJ43IVMLRIR8iVASKzVrETXmyrhtlBeSi1WTS3w/9r2USZci IkKhTq/iuTWbcgqMKgn6Uy2gax3BFcnGk5S9RIVV86gi2YBva3bWjkMuhhyRqoqRLzPY 1rR7k6AuDjgb1/uGu1/JnEV3oYx1zHbq8J9a1ZueJZfZSWbGxlAB/x+Hb1X7NyYWAviw D3pg== 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=dRz+pYre7G66GxmnD4c+PKAAw7SxJFLHJCc2sklu4uM=; b=2XoNaqbVWfj3HxG17u0hhjPrB14QI0isEqvE5b+WMAClJ5sCA7yfduIGeprtkwoj6H TstPp7TVKr8Fuq+kBAIyiJDWbhKDnsaOJab1lEC8P3NhSmQHlXQCoGkiSIF88ImYBGSo MEpTNxJQwu2rfbzpC4WWdRf+6kkoQ4T1Ih+5IaCaFf1LKdoDYGHV+EamMCbPMk+JSLtn SYky1Dje+kCK1mEYQP0zHJ/oOvrC4l5jK9gQBOi8/Na4tm9aP+vwqLCDqohvqGtDqfca M+h9c0tgr115o4M0AxKgzSw/q7Ng6GZkh9M5pXKnhVIJYD6o+uM0+CKe26nMymvcwgvc ivoA== X-Gm-Message-State: AOAM530QEPo/FgERimVkp+6rJxQkW/YOJOOexGLyJaQT3r7BOk9jjMzB WRL9FGacg2nnRsxa0V3rvlRSRQ== X-Received: by 2002:a62:1715:: with SMTP id 21mr22396814pfx.59.1643679126379; Mon, 31 Jan 2022 17:32:06 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:a8:b825:f6dd:417]) by smtp.gmail.com with ESMTPSA id u18sm20733784pfi.185.2022.01.31.17.32.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 17:32:06 -0800 (PST) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de Cc: sjg@chromium.org, ilias.apalodimas@linaro.org, sughosh.ganu@linaro.org, masami.hiramatsu@linaro.org, mark.kettenis@xs4all.nl, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v10 7/9] test/py: efi_capsule: align with the syntax change of mkeficapsule Date: Tue, 1 Feb 2022 10:27:38 +0900 Message-Id: <20220201012740.63070-8-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220201012740.63070-1-takahiro.akashi@linaro.org> References: <20220201012740.63070-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 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(-) 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: