From patchwork Fri May 29 06:41:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1300449 X-Patchwork-Delegate: xypron.glpk@gmx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=sWBFPZ4A; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49YFQb5mBZz9sPF for ; Fri, 29 May 2020 16:43:51 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BCB70817EA; Fri, 29 May 2020 08:43:05 +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="sWBFPZ4A"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3A93481C9E; Fri, 29 May 2020 08:42:43 +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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (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 D71E88196A for ; Fri, 29 May 2020 08:42: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-pg1-x544.google.com with SMTP id 185so924959pgb.10 for ; Thu, 28 May 2020 23:42: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=Dtkm62TKrQYSM6Pi2FZ4vzQM+u2kLPNYR9MNdQuVmI8=; b=sWBFPZ4A1shAxdFZ4fhbu3c4XV8UvEdBzGk6V6pP8TBcF4OiVa7ZwgP2fze7rqQ322 PFm6b6/FbFkx3Ze04h/ZDUzfsII2of15e6C2prxA8KOVxdu/u+mOgmSbQ9knrV24hcVw 1cZecnR7quXqTfTA4ryj20ZWEmQ6+kXOGj8eB+MD0ZAApa2YZ3KNTJC1GhfYCmny7aoM OjeBs7cwpKyaKTk9p/QtR0mqaJKa+74F9ukPc2FuqaTdCA5aYMJyS3QfAff2ou2H9ACI KZ0svhedi6QwI0hb6iZimD9gz8cLeLq3EpVcLFDwhtbaQVIiENUMJkjzmnOZGzjOwfyV Ek9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Dtkm62TKrQYSM6Pi2FZ4vzQM+u2kLPNYR9MNdQuVmI8=; b=uevUmCDedhY92ssy5LqOXjk+7QDQ1msPlRl3/bijxHsOLq3VA1f2iZ3zaHy1mDTcER C/X54iZhI0yvXlAtSVm5Oxpjr/MZLkNK4JxGu/ZvyJxchTb78VQZAa/JXO1oUeS+8Q+X eUh6I2l4Wz4+SGAFiLM+aN41hHqC0FJarN2GJtWr10JyE7m0hJlVODNrIqcXsudDha6t zx3JIF5a/05Nyvsui5NI6O66XuY9z5bDk9V7rvqCD9X/QyZan0KmBmYX3aR92OPsIYuB hrnS89RKH2qWdxkLBKP8/oHqVubmuKWzgfxnD/BJAcE4n+fjQkwJkf0j+a+mCBK+92s0 wchA== X-Gm-Message-State: AOAM533ZSTtoxXgC0aMWvdOv21puHYG3EnAQ4CAMty2sUa66U2s8W8oa 30udob3bk6qXg3RcDGwmpYS/MA== X-Google-Smtp-Source: ABdhPJyK8UUUG1ncbDKgrXcU3+CWrSeag/KMoLRdoGUqfra1l6rch7K0ZSrb+wum/PceshUu5JAh0Q== X-Received: by 2002:a65:67d6:: with SMTP id b22mr6889285pgs.14.1590734558358; Thu, 28 May 2020 23:42:38 -0700 (PDT) Received: from localhost.localdomain (pdb6272d5.tkyea130.ap.so-net.ne.jp. [219.98.114.213]) by smtp.gmail.com with ESMTPSA id q5sm6483128pfl.199.2020.05.28.23.42.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 23:42:37 -0700 (PDT) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de Cc: sughosh.ganu@linaro.org, mail@patrick-wildt.de, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH 09/13] test/py: efi_secboot: fix test case 1g of test_authvar Date: Fri, 29 May 2020 15:41:26 +0900 Message-Id: <20200529064130.28332-10-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200529064130.28332-1-takahiro.akashi@linaro.org> References: <20200529064130.28332-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean In the test case (1g) of test_authvar, "db" is mistakenly used, and it ends up being the exact same as (1f). So correct it as "dbx" test case. Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt --- test/py/tests/test_efi_secboot/test_authvar.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/py/tests/test_efi_secboot/test_authvar.py b/test/py/tests/test_efi_secboot/test_authvar.py index 766ed9283605..148aa3123e4f 100644 --- a/test/py/tests/test_efi_secboot/test_authvar.py +++ b/test/py/tests/test_efi_secboot/test_authvar.py @@ -106,16 +106,16 @@ class TestEfiAuthVar(object): with u_boot_console.log.section('Test Case 1g'): # Test Case 1g, install dbx output = u_boot_console.run_command_list([ - 'fatload host 0:1 4000000 db.auth', - 'setenv -e -nv -bs -rt -i 4000000,$filesize db']) + 'fatload host 0:1 4000000 dbx.auth', + 'setenv -e -nv -bs -rt -i 4000000,$filesize dbx']) assert('Failed to set EFI variable' in ''.join(output)) output = u_boot_console.run_command_list([ - 'fatload host 0:1 4000000 db.auth', - 'setenv -e -nv -bs -rt -at -i 4000000,$filesize db', - 'printenv -e -n -guid d719b2cb-3d3a-4596-a3bc-dad00e67656f db']) + 'fatload host 0:1 4000000 dbx.auth', + 'setenv -e -nv -bs -rt -at -i 4000000,$filesize dbx', + 'printenv -e -n -guid d719b2cb-3d3a-4596-a3bc-dad00e67656f dbx']) assert(not 'Failed to set EFI variable' in ''.join(output)) - assert('db:' in ''.join(output)) + assert('dbx:' in ''.join(output)) output = u_boot_console.run_command( 'printenv -e SecureBoot')