1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 16:26:11 +00:00
restic/testsuite/test-backup-non-existing-file.sh
Alexander Neumann 8eccfc6e79 Add test for backing up non-existing files
restic doesn't terminate in this case, this was described by @rubenv
in #90 https://github.com/restic/restic/issues/90#issuecomment-86901128
2015-03-28 16:16:19 +01:00

10 lines
195 B
Bash
Executable file

set -em
# setup restic
prepare
run restic init
# start backup with non existing dir
run timeout 10s restic.debug backup "${BASE}/fake-data/0/0/"{0,1,foobar,5} && debug "done" || false
cleanup