diff mbox series

[1/4] tpmevlog: add to batch tests

Message ID 20210617201153.67045-1-alex.hung@canonical.com
State Accepted
Headers show
Series [1/4] tpmevlog: add to batch tests | expand

Commit Message

Alex Hung June 17, 2021, 8:11 p.m. UTC
This also allows tpmevlog to be shown in fwts-live (fwts-frontend-text)

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/tpm/tpmevlog/tpmevlog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Colin Ian King June 18, 2021, 10:07 p.m. UTC | #1
On 17/06/2021 21:11, Alex Hung wrote:
> This also allows tpmevlog to be shown in fwts-live (fwts-frontend-text)
> 
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/tpm/tpmevlog/tpmevlog.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/tpm/tpmevlog/tpmevlog.c b/src/tpm/tpmevlog/tpmevlog.c
> index 85c4b907..95406663 100644
> --- a/src/tpm/tpmevlog/tpmevlog.c
> +++ b/src/tpm/tpmevlog/tpmevlog.c
> @@ -497,4 +497,4 @@ static fwts_framework_ops tpmevlog_ops = {
>  	.minor_tests = tpmevlog_tests
>  };
>  
> -FWTS_REGISTER("tpmevlog", &tpmevlog_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_ROOT_PRIV)
> +FWTS_REGISTER("tpmevlog", &tpmevlog_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH | FWTS_FLAG_ROOT_PRIV)
> 

Acked-by: Colin Ian King <colin.king@canonical.com>
Ivan Hu June 21, 2021, 2:29 a.m. UTC | #2
On 6/18/21 4:11 AM, Alex Hung wrote:
> This also allows tpmevlog to be shown in fwts-live (fwts-frontend-text)
> 
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/tpm/tpmevlog/tpmevlog.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/tpm/tpmevlog/tpmevlog.c b/src/tpm/tpmevlog/tpmevlog.c
> index 85c4b907..95406663 100644
> --- a/src/tpm/tpmevlog/tpmevlog.c
> +++ b/src/tpm/tpmevlog/tpmevlog.c
> @@ -497,4 +497,4 @@ static fwts_framework_ops tpmevlog_ops = {
>  	.minor_tests = tpmevlog_tests
>  };
>  
> -FWTS_REGISTER("tpmevlog", &tpmevlog_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_ROOT_PRIV)
> +FWTS_REGISTER("tpmevlog", &tpmevlog_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH | FWTS_FLAG_ROOT_PRIV)
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox series

Patch

diff --git a/src/tpm/tpmevlog/tpmevlog.c b/src/tpm/tpmevlog/tpmevlog.c
index 85c4b907..95406663 100644
--- a/src/tpm/tpmevlog/tpmevlog.c
+++ b/src/tpm/tpmevlog/tpmevlog.c
@@ -497,4 +497,4 @@  static fwts_framework_ops tpmevlog_ops = {
 	.minor_tests = tpmevlog_tests
 };
 
-FWTS_REGISTER("tpmevlog", &tpmevlog_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_ROOT_PRIV)
+FWTS_REGISTER("tpmevlog", &tpmevlog_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH | FWTS_FLAG_ROOT_PRIV)