From patchwork Wed Feb 9 10:10:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 541090 Delivered-To: patch@linaro.org Received: by 2002:ad5:420f:0:0:0:0:0 with SMTP id e15csp1208410imo; Wed, 9 Feb 2022 02:12:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbxu6IHsLUVgYJK+vmklJIb/RyhHWQx8QjYys293rcJOIAThTrG7J9mIrmzxdRwCns/yXf X-Received: by 2002:a17:906:4789:: with SMTP id cw9mr1279442ejc.97.1644401577136; Wed, 09 Feb 2022 02:12:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644401577; cv=none; d=google.com; s=arc-20160816; b=IjrGjijngDzoyIkpC+XTnenKPV5Be17zIlP/nkx8rUbuEXg3s3/KQHMLe90EXnUwf1 O/VLKM7aQdaLRpjrB+/701f8QJeYZwlomuT9TUdbvlkiAymQKheTramURU+9T66KWvtN EQzmCZTTCgGmMDu9EMNUQtu0rrLYkMl0fFtb+27t8m5x2gzArM4ZsnyoSmJtfpAWtM+4 5ihXx//mcB9lQFxDw6zSMjlOXNF2kG3qecia/zVZ1RC0Gf+iH1WPQgPR7TsBUH/EO/Xy lf2d2tB2uxrnkU+dYD5WmD5BwDInLCkol1oCOQQftVMvBTLKgLRiSbPh9exU3Mvd+lLz ApPA== 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=pnG9nuHnLuTuUB59VQCfocjrmIegmM08q/ihl501f5wo4bXi2Neq1m4jHlUMPZLQkI f0ig9v6jw7y56lYVTbOAXYUfdSZs9xcUxnBZmhdt9+M0Y5O4YDUghKGdkyRXKusnFs6t Sd/bvcQCbJUzasvoEnoAqt2yfPiE39doNEzkOlDeVBfOR8jO/uLCbKsfdljP14/8gJ55 f5XT76gR5wEAv/Xm/ap5goVRDDg5bBohkArpCnUml9HS5Ly0eWllolkbFlcSq/iiZpXD 9O0T3zjtpqySrLY46PG3g4RbU9GYzmmpRqz4MnXFWcC8ssSLNa1fCRl1nnk5F7ENwym0 1z5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MOayV7r5; 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 dd19si12139619ejc.732.2022.02.09.02.12.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 02:12:57 -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=MOayV7r5; 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 5537983E7E; Wed, 9 Feb 2022 11:12:16 +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="MOayV7r5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EAA3983DF0; Wed, 9 Feb 2022 11:11:57 +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-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (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 E2EA383E45 for ; Wed, 9 Feb 2022 11:11:48 +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-x434.google.com with SMTP id d187so3373473pfa.10 for ; Wed, 09 Feb 2022 02:11:48 -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=MOayV7r5sbkWCAYqfaHsgvxekSN+VqOzCyrzkilz56KVhQLj2SCfcBGM0e7gqzBrnX ekeSZFvjlcJOLluNlJUeFkPj35gucVBV/dSz7fLYNrctCCz1AN4X8SwdjRRSyi1rY7dh UCBZ6WoAaexlIet3OXV/hBKWpndB/AOLnrq0OagAug6Ta7StdecbQ6o4fSJn9gDhbu0r 5UyjKf+l5fFW08/xU9EK+g8UW3/CwkFbmsqNKE6dpaTNFQOmoo/wN11DqLkkMY9RYnUe dEIhKdKefYxgJ5dKQSqRHW4DTxPhKOLmC5GgqPqi10buSpbUNY2P4qp8z8dX+yemSmc7 fCWg== 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=t36UQ45RZi3RvvIEalK2k1aA9AgJEohao0ZG57r/4otlpaWD1pObLVIInhqVgnh53Z 4Ppfhc43tye5OB22AWhJEWSHRb13vXplP5ZnhNRQEnE29rFVNE7eZS92Jd4Q5V2zyBj9 abOlO0Y4JjmSSEoWG42FT79h5XPOP8xE4BciEziWX/G2AC7XxQcB4c4wD0j1LeTbElW+ 7JedLb6sorG1o0nNf1QzE2/g+1UcknsxBaF3o7HFa+/t4IAsMwxa7wPS4LGZL93E8ElX qRr+0u5cqzrT1kKkK8701Okxtd45YKJTOD/Cb3uqhphup0B2uI5BSGom1rQPQdGh6eB1 xIwg== X-Gm-Message-State: AOAM532Ah8/zclt52bTp2wxL+LlSmKXgQp6LGx+Gta7KoEHmbHGkXGDT P5mEmuMWnkIU9mD3TTdvbXp26Q== X-Received: by 2002:a05:6a00:1c77:: with SMTP id s55mr1459282pfw.3.1644401506960; Wed, 09 Feb 2022 02:11:46 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:d885:543e:bfe4:9eb5]) by smtp.gmail.com with ESMTPSA id mi18sm5143303pjb.35.2022.02.09.02.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 02:11:46 -0800 (PST) From: AKASHI Takahiro To: xypron.glpk@gmx.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 v11 7/9] test/py: efi_capsule: align with the syntax change of mkeficapsule Date: Wed, 9 Feb 2022 19:10:40 +0900 Message-Id: <20220209101042.78036-8-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220209101042.78036-1-takahiro.akashi@linaro.org> References: <20220209101042.78036-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: