mbox series

[v3,0/4] FUSE-based testing for file system functions

Message ID cover.1724694531.git.fweimer@redhat.com
Headers show
Series FUSE-based testing for file system functions | expand

Message

Florian Weimer Aug. 26, 2024, 5:51 p.m. UTC
This version uses the recommended way for tracking FUSE userspace API
changes (bundle <linux/fuse.h>).  As a result, it is possible to build
the code and tests on Hurd as well, so the patch does that.  FUSE is not
Linux-specific as an API (there are implementations for BSD variants, it
seems).

The bundling should not add maintenance overhead because we only need to
update the bundled header if we want to add a test that depends on newer
FUSE features.

Thanks,
Florian

Florian Weimer (4):
  Bundle <linux/fuse.h> userspace header from Linux 6.10
  support: Add FUSE-based file system test framework to support/
  misc: FUSE-based tests for mkstemp
  io: Add FUSE-based test for fchmod

 io/Makefile                                   |    1 +
 io/tst-fchmod-fuse.c                          |  117 ++
 misc/Makefile                                 |    6 +
 misc/tst-mkstemp-fuse-parallel.c              |  211 +++
 misc/tst-mkstemp-fuse.c                       |  198 +++
 support/Makefile                              |    2 +
 support/bundled/README                        |    5 +
 support/bundled/linux/COPYING                 |   20 +
 .../LICENSES/exceptions/Linux-syscall-note    |   24 +
 .../bundled/linux/LICENSES/preferred/GPL-2.0  |  359 +++++
 .../bundled/linux/include/uapi/linux/fuse.h   | 1189 +++++++++++++++++
 support/fuse.h                                |  183 +++
 support/support_fuse.c                        |  608 +++++++++
 support/tst-support_fuse.c                    |  314 +++++
 14 files changed, 3237 insertions(+)
 create mode 100644 io/tst-fchmod-fuse.c
 create mode 100644 misc/tst-mkstemp-fuse-parallel.c
 create mode 100644 misc/tst-mkstemp-fuse.c
 create mode 100644 support/bundled/README
 create mode 100644 support/bundled/linux/COPYING
 create mode 100644 support/bundled/linux/LICENSES/exceptions/Linux-syscall-note
 create mode 100644 support/bundled/linux/LICENSES/preferred/GPL-2.0
 create mode 100644 support/bundled/linux/include/uapi/linux/fuse.h
 create mode 100644 support/fuse.h
 create mode 100644 support/support_fuse.c
 create mode 100644 support/tst-support_fuse.c


base-commit: ca90758b2a2b1c21fcf1f04b3e5ddad238b3aefe