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:
parent
bb62218743
commit
0a44664d4e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user