[LTP] [PATCH 1/2] syscalls/landlock05.c: Remove useless tags

Xiao Yang ice_yangxiao@163.com
Fri Aug 16 06:53:26 CEST 2024


Fix the following warnings from metadata/metaparse:
testcases/kernel/syscalls/landlock/landlock05.c: useless tag: format_device
testcases/kernel/syscalls/landlock/landlock05.c: useless tag: needs_tmpdir

Signed-off-by: Xiao Yang <ice_yangxiao@163.com>
---
 testcases/kernel/syscalls/landlock/landlock05.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/testcases/kernel/syscalls/landlock/landlock05.c b/testcases/kernel/syscalls/landlock/landlock05.c
index 6899dd1f1..703f7d81c 100644
--- a/testcases/kernel/syscalls/landlock/landlock05.c
+++ b/testcases/kernel/syscalls/landlock/landlock05.c
@@ -90,7 +90,6 @@ static void setup(void)
 static struct tst_test test = {
 	.test_all = run,
 	.setup = setup,
-	.needs_tmpdir = 1,
 	.needs_root = 1,
 	.forks_child = 1,
 	.bufs = (struct tst_buffers []) {
@@ -102,7 +101,6 @@ static struct tst_test test = {
 		TST_CAP(TST_CAP_REQ, CAP_SYS_ADMIN),
 		{}
 	},
-	.format_device = 1,
 	.mount_device = 1,
 	.mntpoint = MNTPOINT,
 	.all_filesystems = 1,
-- 
2.45.2



More information about the ltp mailing list