From patchwork Tue Jan 18 04:39:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 532861 Delivered-To: patch@linaro.org Received: by 2002:ad5:544f:0:0:0:0:0 with SMTP id a15csp3352816imp; Mon, 17 Jan 2022 20:41:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7gya7ti4sgEQRoK1sqpHK7E6BkdYExSeUYW/2CmlR7IkSdK+vykOTP9ROmhbByACmKsz4 X-Received: by 2002:a05:6402:1210:: with SMTP id c16mr14212493edw.121.1642480917220; Mon, 17 Jan 2022 20:41:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642480917; cv=none; d=google.com; s=arc-20160816; b=DMCoQ6L8DFQ75/ke7xR8qLPQN0fVsbPjUG6TOXqpzdH/POam7iMzB5wYAs1tS6k4IQ S7atnykD40QyLGUCHtTlS5lFa7MAJ/XHFkGfL360CwXv/fwjyCNcVY+0UP54FZ6qDOOn z6M0vuf7oZWrm9T9CL625VRc5dOWzlhiInJwi4mMvSXxsvMg5NtGlOXR7NZZ6rZ4dcQ/ 4bIFyCVO0b8QtOzGCInTa+Zc4w61v86Zul4aUoxiZes1XMyNQVyqhkGrXfQWEduH0EU8 4Zurs5aMBaTG2aqtY2avKL8uOMIF7GjWC3Vp8fJNIoMC1KDasWRhgGli5VSCO84p+fWU IC6g== 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=Hv8dtaBDUbXwkS0TdNitSeWweGcprhL76NYlwcQITmDEyETkz2HZczN5npSkVXXf6M Xg1gPyrvWDkUdgd1R8YGzbxAPGTtmzCn3f5Ja+TALmoq3dueNLtvSHAtXz47upQdOjaK L6J7JfKNT4DRu4sHkO+PA332y/rvtzRsY97EHrj5bM308xtsGmbKm3JI4baQ8d+f2T3B JTpSLI+f34xt7Fw7AkqpjovAr35CBX1XmsW98Q9+mQwBOl/pMPm2Mmsl43mUaGK2a/Li HcOolpmLyqPUsesOOATk/pIka/uS3RSGEnoc0livqQ6FYdagMCyu8p+ufE2I+BtQ+LCG ahKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DEl2FplS; 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 ho13si8447193ejc.994.2022.01.17.20.41.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 20:41: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=DEl2FplS; 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 7DC0E83813; Tue, 18 Jan 2022 05:41:09 +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="DEl2FplS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 29EFA8366B; Tue, 18 Jan 2022 05:40:55 +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-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (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 15B9C837E4 for ; Tue, 18 Jan 2022 05:40:46 +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-x634.google.com with SMTP id c3so23303217pls.5 for ; Mon, 17 Jan 2022 20:40:46 -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=DEl2FplSzSmuuHrKW0+2PD37JFblufJv5KHvYIzOu599Q2GoBmZnshONAzv1kkYKj9 +AvFWhXLk0uOAzTL+XpdDKvb6ohfCncbOpXQziNGcSOxpe9a0AUJ+BA6dKTQO7ciI0fF 7ZdrWY/fYApPFogIi0mwyHDVdrpWc0UT+MuncguAB02rQWa6Uv8zJrhy5fyloejOFS4h RchJHJAImmEaKAZpptnNkCkNhQjrS+WnHjLO+m2nSy0InOxYwXklOUGcxMCbGVKQWngd J3yHbMRZkMzy0XFjGwKmeHR4ovTwyPx80gqd5rPSwvfS2VZnkbMMwPYj6CA4uhHWhBSc QCbg== 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=uI6TuKBECbW+GHS18/botHrxsugvdkQ6mzBuV2VEq9uNGwpyr00CQmB6qUBYMooRyI 0GQLlXYznslaXhmPPZ/aMY0zSq4h/E5PWRoa7OIUz25OfDbqtK6eJsMXnx65tBsHMW9m fLtMP7aPPXQooHeFGrg5GdzEoHEKX51ZYgXR5xcVyxq2T2DFKGUEJi1W2dVO7uo4n6vZ Jdp5/tNC/70N2+To/zk12u+p6hDhoGl9bNtJGWgaGmt3XhqCCFRrVKmJmae2fUhk1Ekz omte8FHa7JIhmTtN/uRSP3NS4a37MYLX0SXpnyWDEQ3pkAJS75otkv1+SYpvU9s0tQeV GyeQ== X-Gm-Message-State: AOAM533OtmgCKlC9nB3dHT8tuG4FzB4u35sih0WQ5X6XhcU6Equ9hdFE mrlD24AMZx3FD80tOvmvuQXUZg== X-Received: by 2002:a17:903:11c3:b0:14a:58c4:f34c with SMTP id q3-20020a17090311c300b0014a58c4f34cmr25388495plh.151.1642480844507; Mon, 17 Jan 2022 20:40:44 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:bc1a:291e:ac91:be98]) by smtp.gmail.com with ESMTPSA id y69sm15670770pfg.171.2022.01.17.20.40.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 20:40:44 -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 v9 09/11] test/py: efi_capsule: align with the syntax change of mkeficapsule Date: Tue, 18 Jan 2022 13:39:52 +0900 Message-Id: <20220118043954.55940-10-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220118043954.55940-1-takahiro.akashi@linaro.org> References: <20220118043954.55940-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.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: