Repository navigation
Conversation
453f49f to
d5f14f3
Compare
d5f14f3 to
2618ac3
Compare
2618ac3 to
5b98311
Compare
5b98311 to
8944923
Compare
4334285 to
cc20b62
Compare
cc20b62 to
dd0d588
Compare
|
Retargeted to |
|
Pushed two commits:
On Ubuntu 26.04 with FUSE 2, 16 tests pass and t/12 is skipped. On the current head of #603, t/14 to t/16 fail: they cover three FUSE 3 defects found there (O_TRUNC ignored on open, UTIME_NOW and UTIME_OMIT stored as times, and a deadlock between readdirplus and flush). |
The test suite and CMake notes move to LinearTapeFileSystem#611 and LinearTapeFileSystem#606.
2fedeb6 to
ac84759
Compare
The test suite notes move to LinearTapeFileSystem#611.
ac84759 to
34094e8
Compare
The test suite notes move to LinearTapeFileSystem#611.
The share flag was passed as the mode, so the file backend created 0200 files that a non-root user could not reopen.
Shell tests under make check and ctest; skipped without /dev/fuse. tests/run-in-docker.sh runs them in a container on non-Linux hosts.
run-in-docker.sh also works from a release tarball without git.
Also limits a test to 300 s under ctest and includes time.h in the helper.
CI installs fuse3, so the tests cannot be skipped for a missing fusermount.
34094e8 to
13cd20f
Compare
|
Rebased on
Results on Ubuntu: 16 pass and |
LTFS has no automated tests. This PR adds a shell-based integration test suite (17 tests) that mounts a volume of the file tape backend from the build tree, so it needs neither an installation nor tape hardware. It runs with
make checkand withctest.tests/t/): mount and unmount, data round trips, truncate, rename and rename flags, directories, xattrs, symlinks, large directories, tar round trip, inode stability across remounts, FUSE request sizes,direct_io, readdirplus, writes larger than the tape block (silent data corruption on ARM64? #591), overwrite with truncation, timestamps, listing during writes.tests/lib/harness.sh): formats, mounts and unmounts; a test fails when the daemon exits with an error or when the volume had to be repaired after an unmount.tests/Makefile.amfor autotools; the CMake build registers the scripts with ctest.test.ymlruns the suite with autotools.arch_openpasses the permission argument toopen(2); the same commit is in Fix file permissions passed to open(2) by the POSIX arch_open #612.The tests need Linux with
/dev/fuseand are skipped elsewhere;tests/run-in-docker.shruns them in a container.Verified on Ubuntu: FUSE 2, 16 pass and
12-readdirplusis skipped; with the FUSE 3 port (#603, #657), 17 pass. The macOS CMake build skips all tests.