소스 검색

testsuite: Corruption test_chunks_archive, adapt for .compact

Marian Beermann 8 년 전
부모
커밋
a75bfae2cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/borg/testsuite/archiver.py

+ 1 - 1
src/borg/testsuite/archiver.py

@@ -2934,7 +2934,7 @@ class ArchiverCorruptionTestCase(ArchiverTestCaseBase):
         chunks_archive = os.path.join(self.cache_path, 'chunks.archive.d')
         assert len(os.listdir(chunks_archive)) == 4  # two archives, one chunks cache and one .integrity file each
 
-        self.corrupt(os.path.join(chunks_archive, target_id))
+        self.corrupt(os.path.join(chunks_archive, target_id + '.compact'))
 
         # Trigger cache sync by changing the manifest ID in the cache config
         config_path = os.path.join(self.cache_path, 'config')