You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ficlone: improve error reporting in do_ficlone_dir; factor out shared safeguard tests
- Add stderr messages for previously silent failure paths in do_ficlone_dir:
lstat, readlink, symlink, and unlink of src_child all now print the
filename and error string.
- Add files_moved counter; emit a partial-move warning (naming both src
and dst) only when at least one entry was already transferred before
the failure, so a clean early failure stays silent.
- Factor the two read-only-dir safeguard test cases out of
test_btrfs_clone.sh and test_bcachefs.sh into
test/test_ficlone_safeguards.sh; each script now sets
FS_MOUNTPOINT/FS_RMW_CMD/FS_WASTE_DIR and sources the shared file.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments