Correct fsck command in tests

This commit is contained in:
Alexander Neumann 2014-12-22 14:59:46 +01:00
parent 0d882626d9
commit 81dddfccc1
2 changed files with 2 additions and 2 deletions

View file

@ -11,5 +11,5 @@ run restic backup "${BASE}/fake-data" $SNAPSHOT
run restic restore "$(basename "$RESTIC_REPOSITORY"/snapshots/*)" "${BASE}/fake-data-restore-incremental"
dirdiff "${BASE}/fake-data" "${BASE}/fake-data-restore-incremental/fake-data"
run restic fsck all
run restic fsck -o --check-data
cleanup

View file

@ -35,7 +35,7 @@ for i in {1..3}; do
OLD_PWD=bar$i
done
RESTIC_PASSWORD=$OLD_PWD run restic fsck all
RESTIC_PASSWORD=$OLD_PWD run restic fsck -o --check-data
cleanup