From a75bfae2cf0849147f5cdceb5618d1103338452c Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Fri, 9 Jun 2017 11:14:31 +0200 Subject: [PATCH] testsuite: Corruption test_chunks_archive, adapt for .compact --- src/borg/testsuite/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/testsuite/archiver.py b/src/borg/testsuite/archiver.py index 9e207f966..276016268 100644 --- a/src/borg/testsuite/archiver.py +++ b/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')