2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 04:45:15 +00:00

Add 'fsck' to tests

This commit is contained in:
Alexander Neumann 2014-11-30 22:43:34 +01:00
parent 172b7bf123
commit 87c36b2cfb
2 changed files with 3 additions and 0 deletions

View File

@ -5,4 +5,5 @@ run khepri init
run khepri backup "${BASE}/fake-data"
run khepri restore "$(basename "$KHEPRI_REPOSITORY"/snapshots/*)" "${BASE}/fake-data-restore"
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore/fake-data"
run khepri fsck all
cleanup

View File

@ -35,6 +35,8 @@ for i in {1..3}; do
OLD_PWD=bar$i
done
KHEPRI_PASSWORD=$OLD_PWD run khepri fsck all
cleanup
FAILED=0