[LTP] [PATCH 4/4] doc/shell-API: Document TST_SKIP_IN_{LOCKDOWN, SECUREBOOT}=1

Petr Vorel pvorel@suse.cz
Fri Jul 28 15:21:17 CEST 2023


Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 doc/shell-test-api.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/shell-test-api.txt b/doc/shell-test-api.txt
index dde170644..4cf630dab 100644
--- a/doc/shell-test-api.txt
+++ b/doc/shell-test-api.txt
@@ -821,3 +821,8 @@ TST_NEEDS_KCONFIGS="CONFIG_EXT4_FS, CONFIG_QUOTACTL=y"
 
 . tst_test.sh
 -------------------------------------------------------------------------------
+
+1.8 Skipping test based on system state
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Test can be skipped on various conditions: on enabled SecureBoot
+('TST_SKIP_IN_SECUREBOOT=1'), lockdown ('TST_SKIP_IN_LOCKDOWN=1').
-- 
2.41.0



More information about the ltp mailing list