tests: fix duplicity archive directory path

This commit is contained in:
Jerome Charaoui 2021-01-06 21:17:04 -05:00
parent 6b517acacc
commit 1107fb666b

View File

@ -44,7 +44,7 @@ EOF
# reset duplicity archive-dir # reset duplicity archive-dir
# default path set by handler is /var/cache/backupninja # default path set by handler is /var/cache/backupninja
BN_DUPARCHIVEDIR="/var/cache/backupninja" BN_DUPARCHIVEDIR="/var/cache/backupninja/duplicity"
export BN_DUPARCHIVEDIR export BN_DUPARCHIVEDIR
[ -d "$BN_DUPARCHIVEDIR" ] && rm -rf "$BN_DUPARCHIVEDIR" [ -d "$BN_DUPARCHIVEDIR" ] && rm -rf "$BN_DUPARCHIVEDIR"
mkdir -p "$BN_DUPARCHIVEDIR" mkdir -p "$BN_DUPARCHIVEDIR"