forked from TrueCloudLab/restic
Correct fsck command in tests
This commit is contained in:
parent
0d882626d9
commit
81dddfccc1
2 changed files with 2 additions and 2 deletions
|
@ -11,5 +11,5 @@ run restic backup "${BASE}/fake-data" $SNAPSHOT
|
||||||
run restic restore "$(basename "$RESTIC_REPOSITORY"/snapshots/*)" "${BASE}/fake-data-restore-incremental"
|
run restic restore "$(basename "$RESTIC_REPOSITORY"/snapshots/*)" "${BASE}/fake-data-restore-incremental"
|
||||||
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore-incremental/fake-data"
|
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore-incremental/fake-data"
|
||||||
|
|
||||||
run restic fsck all
|
run restic fsck -o --check-data
|
||||||
cleanup
|
cleanup
|
||||||
|
|
|
@ -35,7 +35,7 @@ for i in {1..3}; do
|
||||||
OLD_PWD=bar$i
|
OLD_PWD=bar$i
|
||||||
done
|
done
|
||||||
|
|
||||||
RESTIC_PASSWORD=$OLD_PWD run restic fsck all
|
RESTIC_PASSWORD=$OLD_PWD run restic fsck -o --check-data
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue