Add metadata preservation tests for copy_direntry
Verify that timestamps, permissions, and ownership are correctly preserved when copying files, directories, and symlinks. Tests account for filesystem behavior where reading a file updates its atime by capturing source timestamps before the copy operation.
This commit is contained in:
1 parent
3214b48ae8
commit
95614b6eec
2 files changed
+123
-3
No files matched your search
@@ -175,9 +175,6 @@ class TestRsync:
|
||||
assert os.path.lexists(dst_fpath)
|
||||
check_identical_file(src_fpath, dst_fpath)
|
||||
|
||||
# TODO add tests for changing ownership
|
||||
# TODO add tests for changing times (?)
|
||||
|
||||
|
||||
class TestRsyncBasic:
|
||||
"""Test suite for basic rsync functionality."""
|
||||
|
||||
Reference in new issue
Block a user