From patchwork Thu Oct 28 06:23:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 516361 Delivered-To: patch@linaro.org Received: by 2002:ac0:c404:0:0:0:0:0 with SMTP id t4csp1371317imj; Wed, 27 Oct 2021 23:26:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbZjkmd1FIy/uXELHFLBRm69e1a6ulwGEizr7NfNMw9H9uhdeidpBn5sZkYml916SWYlWq X-Received: by 2002:a05:6402:35c5:: with SMTP id z5mr3531241edc.388.1635402380710; Wed, 27 Oct 2021 23:26:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635402380; cv=none; d=google.com; s=arc-20160816; b=vVycBtxcLLpDxQiU2QGW87gHT1BheueXP8DrY1cM6z0zdPktIC/Y6q0MJWsM/HOhiD ld9T16PT5dBcRluXwa93tUYpQQtdYK6Zd2lGfiqC3T4PjO3T7xPqttRvE6vCBMBSd2ZH 4sGP4LHJq3vd9tSQQJatUhxfdXw4FNzrIwhBJBn9e8wiUwjtbd4os9chigp8UwzfYPi/ 1arqim6JyvTuFdaEzBxjhEBOU+NRNlN/2AHcXODdiJiUru20YwpCVRYO1eKznnnZ6+Pv onRBNaPfu7uDq3nHjDKrlUChZy1aonxVGdZ0EKcl9W0cW5kSTf9Tt25LQspUF+SVcH0Q vW4g== 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=X3+LyJ/0hltwWaOyaohghIsb3oB0yCYv0w4Lz7ttpS0=; b=osvchUZL7eb90bYP4Q5i8/CtWQJ+DUrrLVp5rxBr5sFdDJoxxrwBQIRZCbQpPMdtoC B65m1bVwjI9N7xCIYJxTrvk4iyDsxFFFgp8j5DL7LQOkYy0od8mRGXHu2pOWu6vUGy5A il6VqO/XAfrBhuXx7/E6ojwlbGyz8fHsV73KAuvrrMH6cAuR+NX54kF/8x+Y4wgmgf2A ADzYqo2DnItEMdW9oEADsU9vfPpqUiH/mbU4jkjy72tA5NKeXNl3zp+WNlSLztlSSAgE 5Kx1zQeLpyt8jefvcrDBEvDD8HAgODyNSiIwO+ealELCduHb4aYurZtIrGztF3i+VOQx isyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DNANS0cw; 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 gt30si2924122ejc.419.2021.10.27.23.26.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 23:26:20 -0700 (PDT) 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=DNANS0cw; 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 400868347C; Thu, 28 Oct 2021 08:25:58 +0200 (CEST) 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="DNANS0cw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 03DA5831D3; Thu, 28 Oct 2021 08:25:28 +0200 (CEST) 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-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (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 49B88834E8 for ; Thu, 28 Oct 2021 08:25:17 +0200 (CEST) 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-x52e.google.com with SMTP id r2so5372430pgl.10 for ; Wed, 27 Oct 2021 23:25:17 -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=X3+LyJ/0hltwWaOyaohghIsb3oB0yCYv0w4Lz7ttpS0=; b=DNANS0cwp/JapWeCIPA0tUblruast6cE/s7wT0mVmoxVIruUCjBZfY/AvCJuW5XKzA gpM/tt23k5RJeeUVBQSKTttVfI9HuiGtMiI680Z9Y/Zk8+aKeeAyUfDsg/p71cJ+Khwl d6Ry6c0WRWzFaprbxHkEhlEUi4mOMyDqD5BlLE2yivvXcJC4uSNPHogAfEHynPzRLtTG Eo+GqPi4VGMOFsUfWVJKqLnCIIDixDqJUuK0R5B5irvE6Ihr1JEdSgiz/PuNYuhg3mlM THOXkMwN0pG170KtbNHOWkQn1jwRtg2sY0MQM8xE/5nK4jjr4R5xyJbLQ1RNxRqy+lkA pCyw== 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=X3+LyJ/0hltwWaOyaohghIsb3oB0yCYv0w4Lz7ttpS0=; b=21I04G47mMemgr7MAleItBK3v3C7SpDsnniHc3SpJAiCWf6LTzdz148du8w6H9ELbb 5iZ2dfvcCBwOEbGOeGzx4G25ZorLxyan0i48CBlKaglvdcIQYpUEuj3Az7CtOadqV/xs 0f1zvYBpVo7mA4gF+dd+uJ8Ol7h6oOLkgZUW+e0KTotwuq66QxpBkYRnLgFH/LLcH5qi KGkvBPaYAB6uBGGW3gkExUCNluWNMp6jKNTRaTtP9PfPi+pgwqWWvHuBJ66BHi4o/JhG EVViUnMmW2THNljAZRNms3uu+6NWUz1+3jw8fqtNCb88GPBPCNOUdQ6fs3Ah1ptGNowX /ltg== X-Gm-Message-State: AOAM531SrNA7Jsf3g9yHv6l0YHa1X/yb/ihU8evKR+8SQ9ye9U3wlwp0 wMwnH5GcAwG05wHbuYZVymIQhKyK1Qrehw== X-Received: by 2002:a63:2c4f:: with SMTP id s76mr1804714pgs.155.1635402314668; Wed, 27 Oct 2021 23:25:14 -0700 (PDT) Received: from localhost.localdomain ([2400:4050:c3e1:100:394a:97ee:bbbb:462e]) by smtp.gmail.com with ESMTPSA id p16sm1582018pgd.78.2021.10.27.23.25.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 23:25:14 -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 v5 07/11] test/py: efi_capsule: align with the syntax change of mkeficapsule Date: Thu, 28 Oct 2021 15:23:52 +0900 Message-Id: <20211028062356.98224-8-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211028062356.98224-1-takahiro.akashi@linaro.org> References: <20211028062356.98224-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 --- 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 b0e84dec4931..08bcd74dd991 100644 --- a/test/py/tests/test_efi_capsule/conftest.py +++ b/test/py/tests/test_efi_capsule/conftest.py @@ -70,10 +70,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: