From patchwork Mon Dec 20 05:02:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 526047 Delivered-To: patch@linaro.org Received: by 2002:a05:6e04:2287:0:0:0:0 with SMTP id bl7csp3768620imb; Sun, 19 Dec 2021 21:05:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGbg1QfOlvOAyVy9/RbmfKDI+XxhFBf/cQ1cG4id4S1pM/2jwriVQno2heBD1/YR8sSAAI X-Received: by 2002:a50:e688:: with SMTP id z8mr13916004edm.107.1639976718212; Sun, 19 Dec 2021 21:05:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1639976718; cv=none; d=google.com; s=arc-20160816; b=gxFeJowPUFBLVs+gzQK05pOp3E+b3m9AU/Vldz4QjqwvN+8WMXVjeXMKWMhU6gBkUB P9wWCW1hqSHr1KqWO6ya1NSbl+yX7XuuUYxGG+z55XG1O9bGAWTUJTQIk81djZxTu2T1 gANw2xkmSD05FZYrhhfcELUXewt+HazywjF9pCHsO/lUs/M+ZdISrjkzrBcOOYbIzWdc 6xgcqLPE3kLaO1NdpVCM/rmoQHstC99PldPAmMQSoMeMxGhRwgb1S5Otljh0bldyg/gg vz03LGunQKj8AQF4Y+V0MCPjDmI5fLNRB9VfTPjuBHKIUjQM0QLUaIzk/pWnWq+RHZ+W kU6w== 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=0h7R13CqU24PzfvEMb91iScwHbHEMpUYmqzKE52vJ4CqICHx6mHBP1dyGkayK8BjdV U0DW8EjLzKJ5nBaAGqoXREwAXHsWNvMWQrm18NS5MuPDb/tX6pDpQHN0dmio1nZ9tII0 d01Ntx+xvPcG3EvWgAinBbJkr9X6nrVDzu0EqbKnFQDiTKnBGYqmBnA8WtNwEDv5jA1k osUvaQETUsLP3vEK0lSEBT+nW7oHPQ2fNGsu/NFXsltxBYZBz0ejJP14q/VXmyT3r5qt FeuxCsJNvyVrtjEA1mXF2cHfsAMOLzEaMfxLX0pXi+AxawecYh0ZAqSLISxYgGEOdPsb rH6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V3vVd1Sz; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id cr19si2340809ejc.112.2021.12.19.21.05.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Dec 2021 21:05:18 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V3vVd1Sz; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 33B428341A; Mon, 20 Dec 2021 06:04:31 +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="V3vVd1Sz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BA65A8329E; Mon, 20 Dec 2021 06:04:11 +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-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) (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 A8BC9830A0 for ; Mon, 20 Dec 2021 06:04:05 +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-x635.google.com with SMTP id u16so1074103plg.9 for ; Sun, 19 Dec 2021 21:04:05 -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=V3vVd1Szw32q/tC2KIrBphkDcwxm/i8ObbHvy86TIIfL4k9+yLwD/lcbuuzEJM2T7E +YEQryub+kibQn4FqPNIQtxIHjP1ZSL0Lb6hp/h1YhHmUf2y5PkXB6TpJbQh3vpdervV LRcyOqi/efr6UT9EFQWuhxbMqyQ+3zIVWQqrLWpcEiB86YsGa7ceXz953Qvt2jBMxrwg ZU20wUN4snHq6vw4gu0ArxouxxzJvLBXXhT1Ix3PWuQYAuTyb+oXRVLXjVVd5OjNdUW3 yDASTHra8qwlR+GAWT6UrhAA2gFgiMx5F/QySBunguf58SQvGFKcsPTqk8J8rac/JOAB 6/sg== 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=0W+R8UuGDH9vo4O0h49eaCOMkrljsdj/97eaZCvgh7Al7ehf/MCufCMudcEkiV6O+r ZbGUXEPeux3SfPfo1WyM2Din9uEX6nOih3mKtn8Y6OsYhJK3J6jpf+JJuYG30bANPk5s STtfRpJ1fjfhgEZXB7PdJOw//8eEMCg4nuipunZQ5kQZ8AiCYNddwL1NiH3it68vl022 taiYgxyviKX+6syz3tNdoR2JJua/t5OqK29DJgUDJyhsN2f1s7Wmn07ZFCygvG5pa+Pl iZdsL833FCjhJMoBIIdtsgtd+XHGsNzSEyWwX6rlTLtU8GC6FurPOMsN2+f0BGcmCtwQ nhsw== X-Gm-Message-State: AOAM532SL1fuffE4tPD1nALnHrCApcTLvngcruNGiVPKRa2Y3gcUOeBU TFOJM0QFKhGSExf1Ce67jfci4w== X-Received: by 2002:a17:902:b08f:b0:148:b5d3:96d9 with SMTP id p15-20020a170902b08f00b00148b5d396d9mr14792787plr.66.1639976644095; Sun, 19 Dec 2021 21:04:04 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:89bf:be4:468d:12c2]) by smtp.gmail.com with ESMTPSA id mu2sm4581163pjb.43.2021.12.19.21.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Dec 2021 21:04:03 -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 v8 08/12] test/py: efi_capsule: align with the syntax change of mkeficapsule Date: Mon, 20 Dec 2021 14:02:49 +0900 Message-Id: <20211220050253.31163-9-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211220050253.31163-1-takahiro.akashi@linaro.org> References: <20211220050253.31163-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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: