[PATCH v2 0/3] FUSE-based testing for file system functions
Florian Weimer
fweimer@redhat.com
Thu Aug 22 10:39:47 GMT 2024
This new version hopefully fixes an issue with fortified builds (ignored
return value from the write function). It has some API tweaks (e.g.,
magic type argument in support_fuse_cast comes first). There is an now
an example for handling mkdir, which showed that FUSE_DONT_MASK should
be set, so that the original mode argument is preserved. I added a new
test for fchmod, too.
Thanks,
Florian
Florian Weimer (3):
Linux: Add FUSE-based file system test framework to support/
Linux: FUSE-based tests for mkstemp
Linux: Add FUSE-based test for fchmod
support/Makefile | 1 +
support/fuse.h | 180 ++++++
support/support_fuse.c | 21 +
sysdeps/unix/sysv/linux/Makefile | 13 +
sysdeps/unix/sysv/linux/support_fuse.c | 601 ++++++++++++++++++
sysdeps/unix/sysv/linux/tst-fchmod-fuse.c | 124 ++++
.../sysv/linux/tst-mkstemp-fuse-parallel.c | 210 ++++++
sysdeps/unix/sysv/linux/tst-mkstemp-fuse.c | 199 ++++++
sysdeps/unix/sysv/linux/tst-support_fuse.c | 315 +++++++++
9 files changed, 1664 insertions(+)
create mode 100644 support/fuse.h
create mode 100644 support/support_fuse.c
create mode 100644 sysdeps/unix/sysv/linux/support_fuse.c
create mode 100644 sysdeps/unix/sysv/linux/tst-fchmod-fuse.c
create mode 100644 sysdeps/unix/sysv/linux/tst-mkstemp-fuse-parallel.c
create mode 100644 sysdeps/unix/sysv/linux/tst-mkstemp-fuse.c
create mode 100644 sysdeps/unix/sysv/linux/tst-support_fuse.c
base-commit: 7f04bb4e49413bd57ac3215f3480b09ae7131968
--
2.46.0
More information about the Libc-alpha
mailing list