diff --git a/src/borg/testsuite/archiver/create_cmd.py b/src/borg/testsuite/archiver/create_cmd.py index 0d4a5c6bf..d2e93f818 100644 --- a/src/borg/testsuite/archiver/create_cmd.py +++ b/src/borg/testsuite/archiver/create_cmd.py @@ -547,6 +547,9 @@ def test_file_status(self): # https://borgbackup.readthedocs.org/en/latest/faq.html#i-am-seeing-a-added-status-for-a-unchanged-file self.assert_in("A input/file2", output) + @pytest.mark.skipif( + is_win32, reason="ctime attribute is file creation time on Windows" + ) # see https://docs.python.org/3/library/os.html#os.stat_result.st_ctime def test_file_status_cs_cache_mode(self): """test that a changed file with faked "previous" mtime still gets backed up in ctime,size cache_mode""" self.create_regular_file("file1", contents=b"123")