tests: Create local dest dir in rdiff handler

This commit is contained in:
Jerome Charaoui 2020-12-31 13:37:11 -05:00
parent 0a5c57e42c
commit eb5c4a35e7

View File

@ -5,6 +5,10 @@ begin_rdiff() {
if [ ! -d /var/cache/bntest ]; then
debootstrap --variant=minbase testing /var/cache/bntest
fi
if [ ! -d /tmp/backups ]; then
mkdir /tmp/backups
mount -t tmpfs tmpfs /tmp/backups
fi
}
setup_rdiff() {