It takes about a second to execute.
Added two patches:
- One adapts the testuite to ptest, to test the installed binary instead of
testing the one from the build folder.
- Another that fixes a bug in unionfsctl, which made the test fail. This
patch is submitted upstream.
Sample output:
root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-26T19:03
BEGIN: /usr/lib/unionfs-fuse/ptest
ptestuser:!:20448:0:99999:7:::
PASS: test_all.IOCTL_TestCase.test_debug
PASS: test_all.IOCTL_TestCase.test_wrong_args
PASS: test_all.UnionFS_Help.test_help
[...many lines...]
PASS: test_all.UnionFS_RW_RW_PreserveBranch_TestCase.test_permissions_after_creating_directories
PASS: test_all.UnionFS_Sync.test_sync
PASS: test_all.UnionFS_Version.test_help
============================================================================
Testsuite summary
DURATION: 0
END: /usr/lib/unionfs-fuse/ptest
2025-12-26T19:03
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: copyright year bump
Drop patch which became unneeded (CFLAGS are not overwritten anymore)
Selected shortlog (without readme and CI changes):
- Use fchmodat with AT_SYMLINK_NOFOLLOW if available
- Use utimensat on macOS
- tests: properly test for directory existence using os.path.isdir
- Enable commented test for rmdir
- Add more tests for renaming using cow
- Allow directory renaming when cow is disabled but it only exists in one branch
- Use existing function for checking if file exists
- Fix directory rename hiding files from lower branches
- remove deprecated "use_ino" option from examples and documentation
- CMake: Support CFLAGS= and -DCMAKE_C_FLAGS= from the outside
- set -D_FILE_OFFSET_BITS=64 unconditionally so that compilation does not fail on 32bit systems
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>