[PATCH 4/4] live-image: add "TPM tests" to root menu

Alex Hung alex.hung at canonical.com
Thu Jun 17 20:11:53 UTC 2021


Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
 live-image/fwts-frontend-text | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/live-image/fwts-frontend-text b/live-image/fwts-frontend-text
index 815b09ee..897a922f 100755
--- a/live-image/fwts-frontend-text
+++ b/live-image/fwts-frontend-text
@@ -380,6 +380,7 @@ do
 			"All" "All Batch Tests" on \
 			"ACPI" "ACPI Tests" off \
 			"UEFI" "UEFI Tests" off \
+			"TPM" "TPM Tests" off \
 			"EBBR" "ARM EBBR Tests" off \
 			"SBBR" "ARM SBBR Tests" off \
 			"Recommended" "Recommended Tests" off \
@@ -396,6 +397,7 @@ do
 			"All" "All Batch Tests" on \
 			"ACPI" "ACPI Tests" off \
 			"UEFI" "UEFI Tests" off \
+			"TPM" "TPM Tests" off \
 			"Recommended" "Recommended Tests" off \
 			"Recommended for IFV" "Recommended Tests for F/W Vendors" off \
 			"Selected" "Select Individual Tests" off \
@@ -430,6 +432,10 @@ do
 			do_test "--uefitests" 'Running UEFI Tests'
 			done_tests_finish
 			;;
+		'TPM')
+			do_test "tpm2 tpmevlog tpmevlogdump" 'Running TPM Tests'
+			done_tests_finish
+			;;
 		'EBBR')
 			do_test "--ebbr" 'Embedded Base Boot Requirements (EBBR) Tests'
 			done_tests_finish
-- 
2.32.0




More information about the fwts-devel mailing list