diff mbox series

[2/2] ebbr: add some tests to ebbr option

Message ID 20230210065038.49447-2-ivan.hu@canonical.com
State Accepted
Headers show
Series [1/2] sbbr: add esrt and uefibootpath tests to sbbr option | expand

Commit Message

ivanhu Feb. 10, 2023, 6:50 a.m. UTC
Buglink: https://bugs.launchpad.net/fwts/+bug/2003694
Add efivarinfo, esrt, uefibootpath and dt_base tests to ebbr option

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 src/devicetree/dt_base/dt_base.c     | 2 +-
 src/uefi/esrt/esrt.c                 | 2 +-
 src/uefi/uefibootpath/uefibootpath.c | 2 +-
 src/uefi/uefivarinfo/uefivarinfo.c   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/src/devicetree/dt_base/dt_base.c b/src/devicetree/dt_base/dt_base.c
index 0c49ef60..879f0a44 100644
--- a/src/devicetree/dt_base/dt_base.c
+++ b/src/devicetree/dt_base/dt_base.c
@@ -145,4 +145,4 @@  static fwts_framework_ops dt_base_ops = {
 };
 
 FWTS_REGISTER_FEATURES("dt_base", &dt_base_ops, FWTS_TEST_ANYTIME,
-		FWTS_FLAG_BATCH, FWTS_FW_FEATURE_DEVICETREE);
+		FWTS_FLAG_BATCH | FWTS_FLAG_EBBR, FWTS_FW_FEATURE_DEVICETREE);
diff --git a/src/uefi/esrt/esrt.c b/src/uefi/esrt/esrt.c
index 28531746..9c1d431a 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_FLAG_SBBR)
+FWTS_REGISTER("esrt", &esrt_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_UEFI | FWTS_FLAG_ROOT_PRIV | FWTS_FLAG_XBBR)
 
 #endif
diff --git a/src/uefi/uefibootpath/uefibootpath.c b/src/uefi/uefibootpath/uefibootpath.c
index c7b44fd0..9f584557 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_FLAG_SBBR);
+FWTS_REGISTER("uefibootpath", &uefibootpath_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_UEFI | FWTS_FLAG_BATCH | FWTS_FLAG_ROOT_PRIV | FWTS_FLAG_XBBR);
 
 #endif
diff --git a/src/uefi/uefivarinfo/uefivarinfo.c b/src/uefi/uefivarinfo/uefivarinfo.c
index 2fec5f11..2c43897c 100644
--- a/src/uefi/uefivarinfo/uefivarinfo.c
+++ b/src/uefi/uefivarinfo/uefivarinfo.c
@@ -239,6 +239,6 @@  static fwts_framework_ops uefivarinfo_ops = {
 	.minor_tests = uefivarinfo_tests
 };
 
-FWTS_REGISTER("uefivarinfo", &uefivarinfo_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_UTILS | FWTS_FLAG_UNSAFE | FWTS_FLAG_ROOT_PRIV)
+FWTS_REGISTER("uefivarinfo", &uefivarinfo_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_UTILS | FWTS_FLAG_UNSAFE | FWTS_FLAG_ROOT_PRIV | FWTS_FLAG_EBBR)
 
 #endif