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:
@@ -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