Skip to content

Commit

Permalink
check that fsck did check files
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinsard committed Sep 5, 2023
1 parent 3f2e145 commit caa5aed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/deploy/test_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def test_files_in_remote(dataset):

# check all files are in the shared remote
fsck_res = ds_repo.fsck(remote=public_sibling['name'], fast=True)
assert len(fsck_res) > 0, f"git-annex fsck did not give any result, check that remote exists"
fsck_fails = [fr for fr in fsck_res if not fr['success']]
assert len(fsck_fails) == 0, f"git-annex fsck on {public_sibling} failed: {fsck_fails}"

Expand Down

0 comments on commit caa5aed

Please sign in to comment.