mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
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
This commit is contained in:
parent
4d24f2eab3
commit
8eccfc6e79
10
testsuite/test-backup-non-existing-file.sh
Executable file
10
testsuite/test-backup-non-existing-file.sh
Executable file
@ -0,0 +1,10 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user