1
0
mirror of https://github.com/restic/restic.git synced 2024-06-30 08:20:55 +02:00
restic/testsuite/test-backup-missing-file1.sh

17 lines
294 B
Bash
Raw Normal View History

2015-03-15 14:24:58 +01:00
set -em
# setup restic
prepare
run restic init
# start backup, break between readdir and lstat
DEBUG_BREAK=pipe.walk1 DEBUG_BREAK_PIPE="fake-data/0/0/9" run restic.debug backup "${BASE}/fake-data" && debug "done"
# remove file
rm -f "${BASE}/fake-data/0/0/9/37"
# resume backup
fg
cleanup