ltp.lists.linux.it archive mirror
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] fsconfig03: Skip on FUSE
@ 2023-03-28 14:40 Petr Vorel
  2023-03-29 11:58 ` Wei Gao via ltp
  2023-03-31 15:34 ` Avinesh Kumar
  0 siblings, 2 replies; 6+ messages in thread
From: Petr Vorel @ 2023-03-28 14:40 UTC (permalink / raw)
  To: ltp

fsconfig03 is broken not only on vfat and ntfs, but also over FUSE:

tst_supported_fs_types.c:120: TINFO: FUSE does support exfat
tst_supported_fs_types.c:55: TINFO: mkfs.exfat does exist
...
tst_test.c:1634: TINFO: === Testing on exfat ===
tst_test.c:1093: TINFO: Formatting /dev/loop0 with exfat opts='' extra opts=''
fsconfig03.c:38: TBROK: fsopen() failed: ENODEV (19)

NOTE: it actually works on vfat which is not over FUSE:
tst_supported_fs_types.c:90: TINFO: Kernel supports vfat
tst_supported_fs_types.c:55: TINFO: mkfs.vfat does exist
...
tst_test.c:1634: TINFO: === Testing on vfat ===
tst_test.c:1093: TINFO: Formatting /dev/loop0 with vfat opts='' extra opts=''
fsconfig03.c:72: TPASS: kernel seems to be fine on vfat

Reported-by: Wei Gao <wegao@suse.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Verifying NTFS as kernel module (I'd be surprised if it was not
working). The setup is the same as for fsconfig01.c (fsconfig02.c is for
expected errors, thus has less strict requirements).

Kind regards,
Petr

 testcases/kernel/syscalls/fsconfig/fsconfig03.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/fsconfig/fsconfig03.c b/testcases/kernel/syscalls/fsconfig/fsconfig03.c
index e891c9f98..0ba5355d3 100644
--- a/testcases/kernel/syscalls/fsconfig/fsconfig03.c
+++ b/testcases/kernel/syscalls/fsconfig/fsconfig03.c
@@ -88,7 +88,7 @@ static struct tst_test test = {
 	.mntpoint = MNTPOINT,
 	.all_filesystems = 1,
 	.taint_check = TST_TAINT_W | TST_TAINT_D,
-	.skip_filesystems = (const char *const []){"ntfs", "vfat", NULL},
+	.skip_filesystems = (const char *const []){"fuse", NULL},
 	.tags = (const struct tst_tag[]) {
 		{"linux-git", "722d94847de29"},
 		{"CVE", "2022-0185"},
-- 
2.40.0


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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-04-03  5:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-28 14:40 [LTP] [PATCH 1/1] fsconfig03: Skip on FUSE Petr Vorel
2023-03-29 11:58 ` Wei Gao via ltp
2023-03-29 13:38   ` Petr Vorel
2023-03-30 14:14     ` Wei Gao via ltp
2023-03-31 15:34 ` Avinesh Kumar
2023-04-03  5:55   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).