From patchwork Fri Feb 10 06:50:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1740296 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=PVzAYxci; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PCksC4Q82z23fc for ; Fri, 10 Feb 2023 17:50:55 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1pQNFB-0006tZ-Fj; Fri, 10 Feb 2023 06:50:49 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1pQNFA-0006tR-Cr for fwts-devel@lists.ubuntu.com; Fri, 10 Feb 2023 06:50:48 +0000 Received: from canonical.com (unknown [106.104.136.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 88D54400D2 for ; Fri, 10 Feb 2023 06:50:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1676011848; bh=9yjXmaExrlHdLtYAoJPHQjdBUy6ZnrsD+3ojZi7s3E8=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=PVzAYxciu+TbE59+44GgW+5KtN8qi8af7QN1LYm33S2VSNLID7g+CeLzynDn2w1vf QUlUXUvwLlRhj3t3D/DEic4EU5VhLOrFtpnaRfc0GDrJGZ5keAvMolGQ/3o50FWllZ bEtiT0IjmzIlnML0zx4kaEr2FqJPfvps7EP2WCmusdC5mnEdkcxt2w9M5ZG5kIfJct Gr64TNYofjGR8i3XZfeL3RNHQuj0WknYiz+OmlMTWYMrIQyNnUW6UQDRbKM0ztYnNQ ZR1lsrDD+3XDvvHWp9In2BZLBA/p/ypr9UbbZxLZLRN3m5YXYkVEeRXZbuBuc9+3RP W9YtZnFnFOMwA== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH 1/2] sbbr: add esrt and uefibootpath tests to sbbr option Date: Fri, 10 Feb 2023 14:50:37 +0800 Message-Id: <20230210065038.49447-1-ivan.hu@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" Buglink: https://bugs.launchpad.net/fwts/+bug/2003694 Signed-off-by: Ivan Hu --- src/uefi/esrt/esrt.c | 2 +- src/uefi/uefibootpath/uefibootpath.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uefi/esrt/esrt.c b/src/uefi/esrt/esrt.c index 847bb49e..28531746 100644 --- a/src/uefi/esrt/esrt.c +++ b/src/uefi/esrt/esrt.c @@ -263,6 +263,6 @@ static fwts_framework_ops esrt_ops = { .minor_tests = esrt_tests }; -FWTS_REGISTER("esrt", &esrt_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_UEFI | FWTS_FLAG_ROOT_PRIV) +FWTS_REGISTER("esrt", &esrt_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_UEFI | FWTS_FLAG_ROOT_PRIV | FWTS_FLAG_SBBR) #endif diff --git a/src/uefi/uefibootpath/uefibootpath.c b/src/uefi/uefibootpath/uefibootpath.c index 61c7b9ae..c7b44fd0 100644 --- a/src/uefi/uefibootpath/uefibootpath.c +++ b/src/uefi/uefibootpath/uefibootpath.c @@ -936,6 +936,6 @@ static fwts_framework_ops uefibootpath_ops = { .minor_tests = uefibootpath_tests }; -FWTS_REGISTER("uefibootpath", &uefibootpath_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_UEFI | FWTS_FLAG_BATCH | FWTS_FLAG_ROOT_PRIV); +FWTS_REGISTER("uefibootpath", &uefibootpath_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_UEFI | FWTS_FLAG_BATCH | FWTS_FLAG_ROOT_PRIV | FWTS_FLAG_SBBR); #endif