Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 131CBC4332F for ; Fri, 14 Oct 2022 06:58:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0D35084F3B; Fri, 14 Oct 2022 08:57:55 +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="gXf38GQZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 250A784F28; Fri, 14 Oct 2022 08:57:47 +0200 (CEST) Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (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 4293C84EAE for ; Fri, 14 Oct 2022 08:57:42 +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=masahisa.kojima@linaro.org Received: by mail-pl1-x629.google.com with SMTP id d24so3935280pls.4 for ; Thu, 13 Oct 2022 23:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=VF6XpKFj4J+fI3q133rqSX0NV0wX+JSQdeoSkJOU2uo=; b=gXf38GQZzo3UqQmEyvuElcWdq3D5Mw/WmjL6DG11cPBMuMeH64BrrYgclN6cUhDevL AhSsWIy+RbKy5hMNLqG8TwGzmGo6ba1I43RVg21D1iqF/fxH0jL0JaL4h4121QyUmXHF srr4bqgI559MJ9SQ5Jz0V68Ws2/VU7ZPh05zQ6zXXyKvIKkOox1wyHqhbq8uE1AOvJIr WQQ/gl/cckaHplP+NuoGYB90CjKP1E4wvRPhe6YZCvzqxKmLHipVnRwkCQp57mxtVJB0 h4mwffHIxbmoUygyFtojoWfwy6Kj4A5rMlKGEddzqmVYU7emntSzdk54bHjfHYxr+njK OnZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VF6XpKFj4J+fI3q133rqSX0NV0wX+JSQdeoSkJOU2uo=; b=qLNnBUY+8dnL0YQFxNbskC9QGQ/f1P1nz56QodswYU+qDPN6pF/RxYdeggZRxGhNiV kolczC01U4qMHFXdtJQjcXjdVFutgCZvDbFx+VxBQc/qxkh9HhLK9rgCr9b53H5/NeDC pbt62hOhBeVDzXl9Hl3vWkcot/SDusqadNreJp3F05RznRZZXZv2B0JZyGroapFx72Er 42sHjHUecxdXc58YC02oU6qbpkeDwe2LgJKR9fJbnaVC8TpPpC9y4hdBNlKfkG2INO6h Cr4q6FgYeiAlihhtZbZrdUu1OOfs/Do2qPHJCqVeDhIB21CGqtjFK1i0yayrCnuPHTNz q0aA== X-Gm-Message-State: ACrzQf1YrOgKVyofhFGREU3LIv21JGyB0WMOsuAEf/KtmZGKiiFI8IhN kOKsYNkQrWS/xt+ZYNAS9tnxitSvUQ403w== X-Google-Smtp-Source: AMsMyM4W9hFdXAKoAPcKBaQlqhO5+RcD71jCPK1OF/03Kkt/FYplQUWOXUartxTCe8ajDQ+GDzdWIw== X-Received: by 2002:a17:902:d349:b0:183:7fa5:36a6 with SMTP id l9-20020a170902d34900b001837fa536a6mr3824419plk.63.1665730659932; Thu, 13 Oct 2022 23:57:39 -0700 (PDT) Received: from localhost.localdomain ([240d:1a:cf7:5800:82fa:5bff:fe4b:26b1]) by smtp.gmail.com with ESMTPSA id d67-20020a621d46000000b00550724f8ea0sm850581pfd.128.2022.10.13.23.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 23:57:39 -0700 (PDT) From: Masahisa Kojima To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Takahiro Akashi , Masahisa Kojima Subject: [PATCH v3 5/6] test/eficonfig: support secure boot key maintenance menu Date: Fri, 14 Oct 2022 15:56:59 +0900 Message-Id: <20221014065705.5249-6-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221014065705.5249-1-masahisa.kojima@linaro.org> References: <20221014065705.5249-1-masahisa.kojima@linaro.org> 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.6 at phobos.denx.de X-Virus-Status: Clean eficonfig test is get aligned with the addition of secure boot key management menu. Signed-off-by: Masahisa Kojima --- No change since v2 newly created in v2 test/py/tests/test_eficonfig/test_eficonfig.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/py/tests/test_eficonfig/test_eficonfig.py b/test/py/tests/test_eficonfig/test_eficonfig.py index 99606d9c4b..f7cb031af2 100644 --- a/test/py/tests/test_eficonfig/test_eficonfig.py +++ b/test/py/tests/test_eficonfig/test_eficonfig.py @@ -8,6 +8,7 @@ import time @pytest.mark.boardspec('sandbox') @pytest.mark.buildconfigspec('cmd_eficonfig') @pytest.mark.buildconfigspec('cmd_bootefi_bootmgr') +@pytest.mark.buildconfigspec('efi_secure_boot') def test_efi_eficonfig(u_boot_console, efi_eficonfig_data): def send_user_input_and_wait(user_str, expect_str): @@ -47,7 +48,7 @@ def test_efi_eficonfig(u_boot_console, efi_eficonfig_data): def check_current_is_maintenance_menu(): for i in ('UEFI Maintenance Menu', 'Add Boot Option', 'Edit Boot Option', - 'Change Boot Order', 'Delete Boot Option', 'Quit'): + 'Change Boot Order', 'Delete Boot Option', 'Secure Boot Configuration', 'Quit'): u_boot_console.p.expect([i]) """ Unit test for "eficonfig" command @@ -349,6 +350,7 @@ def test_efi_eficonfig(u_boot_console, efi_eficonfig_data): press_up_down_enter_and_wait(0, 1, True, 'Quit') press_up_down_enter_and_wait(0, 0, True, 'No block device found!') press_escape_key(False) + press_escape_key(False) check_current_is_maintenance_menu() # Return to U-Boot console press_escape_key(True) -- 2.17.1