Skip to content
Snippets Groups Projects
Commit eb5c4a35 authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

tests: Create local dest dir in rdiff handler

parent 0a5c57e4
Branches 195-moderation
Tags
1 merge request!46Add a testsuite
...@@ -5,6 +5,10 @@ begin_rdiff() { ...@@ -5,6 +5,10 @@ begin_rdiff() {
if [ ! -d /var/cache/bntest ]; then if [ ! -d /var/cache/bntest ]; then
debootstrap --variant=minbase testing /var/cache/bntest debootstrap --variant=minbase testing /var/cache/bntest
fi fi
if [ ! -d /tmp/backups ]; then
mkdir /tmp/backups
mount -t tmpfs tmpfs /tmp/backups
fi
} }
setup_rdiff() { setup_rdiff() {
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment