From 7f6278d432ce68f83d8ed0db4769a228fd231fbe Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Sat, 14 Mar 2026 13:57:05 +0100 Subject: [PATCH] fs_tools: Add helper to get regular filesystems That is useful for parametrization. Signed-off-by: Robert Baldyga --- test_tools/fs_tools.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_tools/fs_tools.py b/test_tools/fs_tools.py index afc0780..02dccfb 100644 --- a/test_tools/fs_tools.py +++ b/test_tools/fs_tools.py @@ -29,6 +29,10 @@ class Filesystem(Enum): linux_raid_member = auto() LVM2_member = auto() + @classmethod + def regular(cls): + return [cls.xfs, cls.ext3, cls.ext4] + class Permissions(IntFlag): r = 4