restic/testsuite/test-backup-non-existing-file.sh

11 lines
195 B
Bash
Raw Normal View History

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