From patchwork Tue Jun 9 05:09:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1305569 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=85.214.62.61; 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=rFTq4l6A; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 49gytb6PRvz9sRK for ; Tue, 9 Jun 2020 15:12:55 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 08AD681CC5; Tue, 9 Jun 2020 07:11:15 +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="rFTq4l6A"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 793EC81C64; Tue, 9 Jun 2020 07:11:10 +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-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) (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 689DA819F3 for ; Tue, 9 Jun 2020 07:11:03 +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-pj1-x1044.google.com with SMTP id ne5so864382pjb.5 for ; Mon, 08 Jun 2020 22:11:03 -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=nLkHY01tjJHKg/Y7SU/bphcLLHXsK0Ohwqp/NbFlFj8=; b=rFTq4l6AUJ9jpTUggXRnLwMUfkG7qGQV0leuXs0+3XQwS7LRZfc+is0kHE5qhcpsKQ CMAOIjvVjC4ldf0E/bHLF/iG+OHy3WBP7i9lclDFd0SsOKLiZ8n0CEOksKOdS0DJV/kI en8QV77W0E64mlXxPZ5Q2EhVfsetjD/6RfzApSf/SCuE+Z0UwvROWnTRfgcAlxxF+FQ8 IKbDo/6R2JtpBJO/OYRQIsqpcP83v9dLZc93Z2HsYb7AwAmkINSFTQs+k4mCFJqYgnDo GrMuzLoxABRWVZnNaot0urvBqn7LMHtpqvAIzj/FTCs7z3ZWfzychyVlQsVRIvd/u8Vc efqw== 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=nLkHY01tjJHKg/Y7SU/bphcLLHXsK0Ohwqp/NbFlFj8=; b=PSieN3IzjzwoRrAiTHn20pFBGD+FxHCWMKRrlmKIo6BNFMoORtODVrJQA1yeeOgJ1P dfuA5R8rnZBBe3UmBDD+aeAV3HOx2A9Ud33jWjlv6P2BmmtwYYDT89WYeDTamnbGwjOm aM1AyLy4wDfs3rkIoIacnUoVv5oOit69QptvavwG/BlZQhnC2iBD3cxIz0pq/Is/8ewO qgkBuxU0NRqQulwlTf45jR1yHcDRrTCR7ZcfVyL9T8ebnvNNqmTtPgiywLV+y1wNoEF8 9f6JVhXj2lwq4zDL42l/3lpl2CesahnWqcCQwmwQPqbuRHr7msLPVozfW0J08uSNb+Kg MX+Q== X-Gm-Message-State: AOAM531IV4zYEW1D72feAoySbbhTrGW+9P/3apO+pPFwCn3oWkoJW01f vi8N8QjzE3+VbzV0E31AfwD2iA== X-Google-Smtp-Source: ABdhPJy19v4o1AxCZcl8SmEDGINVcYTbPEq47Z66AGAV/WIKjDm0jpyEGczaJSKEe6vIX1jVEg/zmg== X-Received: by 2002:a17:90a:3489:: with SMTP id p9mr2869300pjb.56.1591679461631; Mon, 08 Jun 2020 22:11:01 -0700 (PDT) Received: from localhost.localdomain (p6e421564.tkyea130.ap.so-net.ne.jp. [110.66.21.100]) by smtp.gmail.com with ESMTPSA id p11sm8958611pfq.10.2020.06.08.22.10.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 22:11:01 -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 v2 13/17] test/py: efi_secboot: fix test case 1g of test_authvar Date: Tue, 9 Jun 2020 14:09:43 +0900 Message-Id: <20200609050947.17861-14-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200609050947.17861-1-takahiro.akashi@linaro.org> References: <20200609050947.17861-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')