All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] doc: Improve .skip_filesystems documentation
@ 2022-10-06 10:29 Petr Vorel
  2022-10-07 14:04 ` Avinesh Kumar
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2022-10-06 10:29 UTC (permalink / raw)
  To: ltp

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 doc/c-test-api.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/doc/c-test-api.txt b/doc/c-test-api.txt
index 64ee3397f..2865160cc 100644
--- a/doc/c-test-api.txt
+++ b/doc/c-test-api.txt
@@ -894,6 +894,15 @@ If test needs to adjust expectations based on filesystem type it's also
 possible to detect filesystem type at the runtime. This is preferably used
 when only subset of the test is not applicable for a given filesystem.
 
+NOTE: ext2, ext3 or ext4 in '.skip_filesystems' on tests which does *not* use
+      '.all_filesystems' needs to be defined as 'ext2/ext3/ext4'. The reason
+      is that is hard to detect used filesystem due overlapping the functionality.
+      OTOH tests which use '.skip_filesystems' *with* '.all_filesystems' can skip
+      only filesystems which are actually used in '.all_filesystems': ext2, ext3,
+      ext4, xfs, btrfs, vfat, exfat, ntfs, tmpfs (defined in 'fs_type_whitelist[]').
+      It does not make sense to list other filesystems.
+
+
 [source,c]
 -------------------------------------------------------------------------------
 #include "tst_test.h"
-- 
2.37.3


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

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

end of thread, other threads:[~2022-11-01 13:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06 10:29 [LTP] [PATCH 1/1] doc: Improve .skip_filesystems documentation Petr Vorel
2022-10-07 14:04 ` Avinesh Kumar
2022-10-07 21:11   ` Petr Vorel
2022-11-01 13:17     ` Richard Palethorpe
2022-11-01 13:25       ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.