mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 09:59:19 -04:00
Merge pull request #8861 from ThomasWaldmann/tests-fix-ts-granularity
tests: fix diff cmd test on macOS HFS+, fixes #8860
This commit is contained in:
commit
7760ebb6e3
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ def test_basic_functionality(archivers, request):
|
|||
create_regular_file(archiver.input_path, "file_replaced", contents=b"0" * 4096)
|
||||
os.unlink("input/file_removed")
|
||||
os.unlink("input/file_removed2")
|
||||
time.sleep(1) # macOS HFS+ has a 1s timestamp granularity
|
||||
Path("input/file_touched").touch()
|
||||
os.rmdir("input/dir_replaced_with_file")
|
||||
create_regular_file(archiver.input_path, "dir_replaced_with_file", size=8192)
|
||||
|
|
|
|||
Loading…
Reference in a new issue