From patchwork Thu Oct 7 06:23:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 515435 Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp1004602ime; Wed, 6 Oct 2021 23:26:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTP1Rj942AuActM6SXuRA1Ihk2yh5re0zrm2MjEGfQBqh/WLODgenpJ26MF/3hJfVfS5+p X-Received: by 2002:a17:906:a2c9:: with SMTP id by9mr3337875ejb.305.1633588000320; Wed, 06 Oct 2021 23:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633588000; cv=none; d=google.com; s=arc-20160816; b=O2NJzuZY44bZiMNkGs/CP6b621BHGGqS4i3hfjNu9qBjBW27Be/bvwr+ATSXzdkhFm ZXGWX/7Q9mls9iIljhy4j5k96pGKfkokCsodQG/jbNPoN6Wj+fNNlJERFdsWO6Am6I+H 3Kube4VjvGaoXI2I3vmsPZjkUQFXRqDtUiaZmLrObinsdiDleMW7LYd9i0dlW3/WSd+A TEAmx0vR/7kt+2PoZFfwCWI/1lKY5W0LDy3GuLXXUTH7LxkRGgPUCTm4eUMVdNW13qXp VhTyEqlkWsFhb8LamAshHVnB7LaEMiGKLPbkRX53eJG9cLSjow2M7VzobUewQAZXxHEN MgEA== 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=mLIjifAeO5Om+pjlquybHV9L7bo4FSETJ8hvTMksiuU=; b=w9MmySwOMr801V8+q2qqi+IU2MCnYjstz3FaWy0Oap6HzbGlG2n3TXVzfQ/XuBFj0G O6mfDoxrtKadxL27hnfKPnMjHlJ40Wg8/NDYcuEggawIT7WGN0C9YK2TZvjV7hdtS4W0 oYnU3FaBgNFnWNVZ4eZK6s7VI7xQMgViRBEMu5NgDLd25+htUMMUZRGSYJqr3CTEhXTG 1nbALDwu+rNYpNobleqYoYiOea07ljo69/F4/5g/TV5IEzd3C2J8AsohR4twvMzylbR9 YvC6vuvXubjH2kWdw7e2xhwu4FsD4Mu+QsrZtddEdhIYA+9/HWt0cIJCu2OWbvvOtI/q MVXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D60SWVm5; 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 6si27513385ejk.125.2021.10.06.23.26.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 23:26:40 -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=D60SWVm5; 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 009D9834E7; Thu, 7 Oct 2021 08:25:47 +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="D60SWVm5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8367D834EC; Thu, 7 Oct 2021 08:25:44 +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-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (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 705D683483 for ; Thu, 7 Oct 2021 08:25:39 +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-pf1-x429.google.com with SMTP id i65so1496421pfe.12 for ; Wed, 06 Oct 2021 23:25:39 -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=mLIjifAeO5Om+pjlquybHV9L7bo4FSETJ8hvTMksiuU=; b=D60SWVm5cZSHtrq62DTLRVrFrEXSCNJqcpYMMIt6tHhG5ujQqhUIa++VY/HCwQZZW2 IfC3rjqHRJzkgJiwTAAKuI+cGhm1kP8GnqHpALh0TBlF3ZpDNGJnB99s/gukJID7f4Wk 5hLD6MCRBGPhUFG6hCnbNhVfpdcaNlwj2lxMUGuPxCE2bEnddIuGpnP8S7Hbq02ZGWIO K1AXZpwgkzIR9R+PsvA9zvZtnOfR8vbdky+fBJzJBFqhvro6bjefLGAvsQG23TV1GncL YRppKATwkSr8s9UlY2YoQ9WyvC24pjWKrFdShJ2M8loWTxc7WcNq4S59ERCkZTv/lcFk H+Eg== 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=mLIjifAeO5Om+pjlquybHV9L7bo4FSETJ8hvTMksiuU=; b=1+Q6YIYmI0RTRfzDwVfSwGrFSUuoVO5PaxiGfuZlmtTNw+2Dep2D50Jm2AoexlDZyV 25stXmJdyr6/XE6+KOK6MxkNWQ596P3syubEb9PJUceyGe6rkgXLkBkcYy4wo9mo7x2g uNtIljTE8xu/LGeq4TwPwjIPZkOdLnnIYSYdAjgi8wzSuW1FOWpSkdsfvmWVwZ8VyWlt ZCvODYJM2r4CM4fjW6SmE7EAAmHj9xbeXXacumKqsetUbNGs1lM4ecTw5fXQsATm/LM0 ac6QWA7PcouWgI5nKeqMrbEVDvfu6SPdqrd8FagMu0VZhmU9CgaGlN9E821sS4LZSGbk nMyg== X-Gm-Message-State: AOAM531ZaGEfZBRyyDOveG9CcrqouI4D8NA0DvOpL+KhqOyjbCoWKtqC HTIINCYrcejo3alu0+W7Au0hQKJ3QXs2Zw== X-Received: by 2002:a63:4c0e:: with SMTP id z14mr1936223pga.427.1633587937844; Wed, 06 Oct 2021 23:25:37 -0700 (PDT) Received: from localhost.localdomain (122-100-26-39m5.mineo.jp. [122.100.26.39]) by smtp.gmail.com with ESMTPSA id b17sm22131859pgl.61.2021.10.06.23.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 23:25:37 -0700 (PDT) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de Cc: ilias.apalodimas@linaro.org, sughosh.ganu@linaro.org, masami.hiramatsu@linaro.org, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v4 09/11] test/py: efi_capsule: align with the syntax change of mkeficapsule Date: Thu, 7 Oct 2021 15:23:38 +0900 Message-Id: <20211007062340.72207-10-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211007062340.72207-1-takahiro.akashi@linaro.org> References: <20211007062340.72207-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 and added one more test case, Case 4, for verifying the new "--guid" option. 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 6ad5608cd71c..8b5368c11abc 100644 --- a/test/py/tests/test_efi_capsule/conftest.py +++ b/test/py/tests/test_efi_capsule/conftest.py @@ -50,10 +50,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)