mirror of
https://github.com/octoleo/restic.git
synced 2024-11-25 14:17:42 +00:00
Add 'fsck' to tests
This commit is contained in:
parent
172b7bf123
commit
87c36b2cfb
@ -5,4 +5,5 @@ run khepri init
|
|||||||
run khepri backup "${BASE}/fake-data"
|
run khepri backup "${BASE}/fake-data"
|
||||||
run khepri restore "$(basename "$KHEPRI_REPOSITORY"/snapshots/*)" "${BASE}/fake-data-restore"
|
run khepri restore "$(basename "$KHEPRI_REPOSITORY"/snapshots/*)" "${BASE}/fake-data-restore"
|
||||||
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore/fake-data"
|
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore/fake-data"
|
||||||
|
run khepri fsck all
|
||||||
cleanup
|
cleanup
|
||||||
|
@ -35,6 +35,8 @@ for i in {1..3}; do
|
|||||||
OLD_PWD=bar$i
|
OLD_PWD=bar$i
|
||||||
done
|
done
|
||||||
|
|
||||||
|
KHEPRI_PASSWORD=$OLD_PWD run khepri fsck all
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
FAILED=0
|
FAILED=0
|
||||||
|
Loading…
Reference in New Issue
Block a user