[LTP] [COMMITTED][PATCH 1/1] utime03.c: Drop 9p whitelist

Petr Vorel pvorel@suse.cz
Tue Jan 18 18:34:48 CET 2022


Reasons:
1) It's whitelisted as "v9", which is wrong: it'd have to be "9p" (which
is in tst_fs_type_name(), but even though it would not be considered
because test is using .all_filesystems = 1 and "9p" it's not in
tst_fs_type_name() (the list of filesystems being used for .all_filesystems).

2) Tested - not needed. Working on 9p mounted on guests VMs with 5.16,
5.2.1 and 4.4.21 (on host with 5.16). The whitelist was added in 2011
(bc5da68248), i.e. kernel 2.6.

Use the same name as in tst_fs_type_name() to actually skip it.

Acked-by: Cyril Hrubis <chrubis@suse.cz>
Acked-by: Li Wang <liwang@redhat.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/kernel/syscalls/utime/utime03.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testcases/kernel/syscalls/utime/utime03.c b/testcases/kernel/syscalls/utime/utime03.c
index 48cc3bae77..2358fd70b4 100644
--- a/testcases/kernel/syscalls/utime/utime03.c
+++ b/testcases/kernel/syscalls/utime/utime03.c
@@ -93,7 +93,6 @@ static struct tst_test test = {
 	.mntpoint = MNTPOINT,
 	.all_filesystems = 1,
 	.skip_filesystems = (const char *const[]) {
-		"v9",
 		"vfat",
 		"exfat",
 		NULL
-- 
2.34.1



More information about the ltp mailing list