[LTP] [PATCH 0/4] shell: Add TST_SKIP_IN_{LOCKDOWN,SECUREBOOT}=1

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


and use it in insmod01.sh.

Petr Vorel (4):
  lib: shell: Add TST_SKIP_IN_LOCKDOWN=1
  lib: shell: Add TST_SKIP_IN_SECUREBOOT=1
  insmod01.sh: Skip test on lockdown and secure boot
  doc/shell-API: Document TST_SKIP_IN_{LOCKDOWN,SECUREBOOT}=1

 doc/shell-test-api.txt                 |  5 +++++
 doc/test-writing-guidelines.txt        |  4 ++--
 testcases/commands/insmod/insmod01.sh  |  3 +++
 testcases/lib/.gitignore               |  2 ++
 testcases/lib/Makefile                 |  2 +-
 testcases/lib/tst_lockdown_enabled.c   | 12 ++++++++++++
 testcases/lib/tst_secureboot_enabled.c | 12 ++++++++++++
 testcases/lib/tst_test.sh              | 10 +++++++++-
 8 files changed, 46 insertions(+), 4 deletions(-)
 create mode 100644 testcases/lib/tst_lockdown_enabled.c
 create mode 100644 testcases/lib/tst_secureboot_enabled.c

-- 
2.41.0



More information about the ltp mailing list