summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/filesystems/fuse/fuse_common.c
AgeCommit message (Collapse)Author
2026-10-15selftests/fuse: factor-out test fixture setup/teardownLuis Henriques
In order to reduce new tests setup/teardown code duplication, factor-out these functions from the existing acl_cache test into a new fuse_common.c file that can be reused in other tests. While there, also move some of the FIXTURE members into a fuse_common_ctx structure that can be passed into setup/teardown instead of passing them by reference. Signed-off-by: Luis Henriques <luis@igalia.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>