mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-04 06:21:46 +00:00
add comments to test_unknown_feature_on_cache_sync
This commit is contained in:
parent
c7249583e7
commit
72be8eff15
1 changed files with 2 additions and 0 deletions
|
@ -205,8 +205,10 @@ def test_unknown_feature_on_create(archivers, request):
|
||||||
|
|
||||||
|
|
||||||
def test_unknown_feature_on_cache_sync(archivers, request):
|
def test_unknown_feature_on_cache_sync(archivers, request):
|
||||||
|
# LocalCache.sync checks repo compat
|
||||||
archiver = request.getfixturevalue(archivers)
|
archiver = request.getfixturevalue(archivers)
|
||||||
cmd(archiver, "rcreate", RK_ENCRYPTION)
|
cmd(archiver, "rcreate", RK_ENCRYPTION)
|
||||||
|
# delete the cache to trigger a cache sync later in borg create
|
||||||
cmd(archiver, "rdelete", "--cache-only")
|
cmd(archiver, "rdelete", "--cache-only")
|
||||||
add_unknown_feature(archiver.repository_path, Manifest.Operation.READ)
|
add_unknown_feature(archiver.repository_path, Manifest.Operation.READ)
|
||||||
cmd_raises_unknown_feature(archiver, ["create", "test", "input"])
|
cmd_raises_unknown_feature(archiver, ["create", "test", "input"])
|
||||||
|
|
Loading…
Reference in a new issue