From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Wed, 10 Mar 2021 13:26:22 +0100 Subject: [LTP] [PATCH 0/3] Add proper filesystem skiplist Message-ID: <20210310122625.25425-1-chrubis@suse.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it This adds a proper .skip_filesystems array to the tst_test structure and implements support for both test with .all_filesystems enabled and disabled. As a bonus point we get the list of filesystems that the test does not support exported to the metadata as well. Cyril Hrubis (3): lib: Add proper filesystem skiplist lib: tst_fs_type change fs names to lowercase lib: Apply the skip_filesystems to rest of test as well include/tst_fs.h | 19 +++++++--- include/tst_test.h | 9 +++-- lib/tst_fs_type.c | 36 +++++++++---------- lib/tst_supported_fs_types.c | 35 +++++++++++++----- lib/tst_test.c | 12 ++++++- testcases/kernel/syscalls/fcntl/fcntl33.c | 19 ++++------ .../kernel/syscalls/fsconfig/fsconfig01.c | 2 +- testcases/kernel/syscalls/fsmount/fsmount01.c | 2 +- testcases/kernel/syscalls/fsmount/fsmount02.c | 2 +- testcases/kernel/syscalls/fsopen/fsopen01.c | 2 +- testcases/kernel/syscalls/fspick/fspick01.c | 2 +- testcases/kernel/syscalls/fspick/fspick02.c | 2 +- .../kernel/syscalls/ioctl/ioctl_loop05.c | 11 +++--- .../kernel/syscalls/move_mount/move_mount01.c | 2 +- .../kernel/syscalls/move_mount/move_mount02.c | 2 +- .../kernel/syscalls/open_tree/open_tree01.c | 2 +- .../kernel/syscalls/open_tree/open_tree02.c | 2 +- .../sync_file_range/sync_file_range02.c | 2 +- .../kernel/syscalls/vmsplice/vmsplice01.c | 9 +++-- .../kernel/syscalls/vmsplice/vmsplice02.c | 9 +++-- testcases/lib/tst_supported_fs.c | 4 +-- 21 files changed, 111 insertions(+), 74 deletions(-) -- 2.26.2