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

杨晓 ice_yangxiao@163.com
Sat Aug 17 06:43:10 CEST 2024




Hi Li,




Pushed. Thanks for your review.





Best Regards,

Xiao Yang





On 2024-08-16 15:01:28,"Li Wang" <liwang@redhat.com> wrote:





On Fri, Aug 16, 2024 at 12:54 PM Xiao Yang <ice_yangxiao@163.com> wrote:

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>

 
Reviewed-by: Li Wang <liwang@redhat.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


--
Mailing list info: https://lists.linux.it/listinfo/ltp






--

Regards,

Li Wang


More information about the ltp mailing list