Refactor testsuite

This commit is contained in:
Alexander Neumann
2015-01-17 16:32:24 +01:00
parent 25a214809b
commit fb95f02af6
9 changed files with 52 additions and 49 deletions
+16
View File
@@ -0,0 +1,16 @@
set -em
# setup restic
prepare
run restic init
# start backup, break before saving files
DEBUG_BREAK=Archiver.Snapshot run restic.debug backup "${BASE}/fake-data" && debug "done"
# remove file
rm -f "${BASE}/fake-data/0/0/9/37"
# resume backup
fg
cleanup