From patchwork Tue Nov 16 04:32:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 519168 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp6619208imj; Mon, 15 Nov 2021 20:34:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVOiZwPBPTSEvB/vClhrtvwV3DPzPvs/goC/2JpTMd6RlAH1GZe/IOVk1e7GBW5v/Nab3D X-Received: by 2002:a17:907:6e8e:: with SMTP id sh14mr6013335ejc.536.1637037277427; Mon, 15 Nov 2021 20:34:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637037277; cv=none; d=google.com; s=arc-20160816; b=xqHW+DEPW/oUBuiORVes2oR6RCoT31KyYI0iTKUCtnl+7ADpH1FKquEeIOT4/RhnsA 9nbCBuZksddOM5xMpJ6vfHllETLfHUnt/wb4GyGfwjDz6YLoZIWWgI9iJW5sk1/is4gZ kUGm8oU88VTwvQzvCjM6cp2cQb6HWLaN2lfbtiuWerTBcuR13I/40luZ1cm73TPx4Mnb DrUhxmQDYCU2pSN55l4+8wEyekGB21aULQ5BBuc0HHEHGbQX1CjRAuY7P/wMRlU/6TPJ i/3xG65mdmiQCkJGtoNkzLWw76WvmJoVzVufO48SFrY9q2boea2jcKZ0/BSTn8pJFJvE QPqA== 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=bxoKy6A0lSCX94jwtVmA5T7Pok7BA6l7W2pC2Z85+GjGZrQqF9Hrx+nUSdEUDXxPAf 1K1M4A5KTkswkyXEjgQ+cOPMZW18BPC2ZnMAk18aBESH0ne6aRkc1vSTV+opsN/MFhED 7FRdzyVQFUGgf75NjBPE6EceuKHeDYNW8ZAKFTUcB02WsR4z2U/hwzB4FcDZz1dm4j32 dePeDpAJwQyyAErGrrYELpNUjhjwbSmgAYVj+AAIeE4nSzPqMvcQPzHYY8GpAD6zhrOl Q0+3tPd3FLENUV3GWgSovNHnkaP8kYU+AnUarU0R1eRa96DcnjDOt8WANFQ5Z+JHdJB9 iX2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="m/xzjbhx"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id m6si14698049edc.499.2021.11.15.20.34.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 20:34:37 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="m/xzjbhx"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 DB8A683800; Tue, 16 Nov 2021 05:34:28 +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="m/xzjbhx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8D174837E4; Tue, 16 Nov 2021 05:33:49 +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-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (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 7673A837E2 for ; Tue, 16 Nov 2021 05:33:41 +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-pl1-x632.google.com with SMTP id n8so16315437plf.4 for ; Mon, 15 Nov 2021 20:33:41 -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=m/xzjbhxZZyxh1fTaSxHjMho6NzOf3DeJTv/B/AYyVm0VxbmwNH8EIc3k+Vk+BFpCU P6IdSQDVDYIfZaiwTmzqZexFHuxk5PbLkqJjF/wSKwU1YgTUDS9KzpB2Pndl65VfpQND 53r81SUu5RUfFNVCAidhVtALtZipRVJyx+wPMeO6eRMPpJn6Eu2u01UT08WuLOGFdWXW yLlwD6pJviv+Tds5otZcE7daNXGjm81rdFabbxae7tSFJcuri7afvAKosSoOFr/TTbPg 1Ni4rv3pvs14HJIJGlNVUdyldJDDeje7OfsSAPbT1BwUbuay0zHGnI3KbDj1p5E7VGRr 1gTA== 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=fGlkXrbM5BVhJBR612kuiO28R6kzhK7pb8+9Qu/a4067m+6FJQ1NAG+v3gXoOpp8jt UBgfFGYJcenp0sa4gNCc89D2eZojiAFqWtKJq0sVUJkq8J0kgvnxy8TOh+Qh8LGoZTvF eZuqOhUUsdN/sj4qw+cjWTjhl9IMWpae5U0iVobeiX3o09krwBzeQSKRP25jVmAg0WJJ v308nn6jAZ/mHQRdTequ5NUTUsrqJccBsURO0hmZCCDmkG6XiccCva7Ek0PMWjOiRhdI Z2HOXbWgjcxYH/DQWLrAZFUYXJ2SKft/xxHKveIEhrpbGfgqFjdcH0W7SoDtogkBLdPG P4Kw== X-Gm-Message-State: AOAM531wtPrS17mJLRJ1JKoNnvQx5pcJgtjbBMqXXpJWDrDKgNy6LIZb gR5uuIfbTTBz1HueY1k3GQTnWg== X-Received: by 2002:a17:903:11cc:b0:143:a48a:2f2a with SMTP id q12-20020a17090311cc00b00143a48a2f2amr40169863plh.79.1637037219879; Mon, 15 Nov 2021 20:33:39 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:d07c:c772:1ab9:a9e0]) by smtp.gmail.com with ESMTPSA id lt5sm782914pjb.43.2021.11.15.20.33.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 20:33:39 -0800 (PST) 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, mark.kettenis@xs4all.nl, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v7 08/12] test/py: efi_capsule: align with the syntax change of mkeficapsule Date: Tue, 16 Nov 2021 13:32:34 +0900 Message-Id: <20211116043238.67226-9-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211116043238.67226-1-takahiro.akashi@linaro.org> References: <20211116043238.67226-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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(-) 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: