2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-01 09:13:56 +00:00

Fix test, do not depend on snapshots command

This commit is contained in:
Alexander Neumann 2014-11-24 22:17:49 +01:00
parent bb62218743
commit 0a44664d4e

View File

@ -3,6 +3,6 @@ set -e
prepare prepare
run khepri init run khepri init
run khepri backup "${BASE}/fake-data" run khepri backup "${BASE}/fake-data"
run khepri restore "$(khepri 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"
cleanup cleanup