Verify chunk id for snapshot chunks

This commit is contained in:
Gilbert Chen
2017-07-07 12:08:38 -04:00
parent 2908b807b9
commit 09f695b3e1
3 changed files with 20 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ fixture
pushd ${TEST_REPO}
${DUPLICACY} init integration-tests $TEST_STORAGE -c 4
# Create 10 20 files
# Create 10 small files
add_file file1 20
add_file file2 20
add_file file3 20
@@ -25,6 +25,8 @@ env DUPLICACY_FAIL_CHUNK=10 ${DUPLICACY} backup
# Try it again to test the multiple-resume case
env DUPLICACY_FAIL_CHUNK=5 ${DUPLICACY} backup
add_file file1 20
add_file file2 20
# Fail the backup before uploading the snapshot
env DUPLICACY_FAIL_SNAPSHOT=true ${DUPLICACY} backup