diff --git a/CHANGELOG.md b/CHANGELOG.md index ee794f8..a1a622b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +* tests: clean jail configuration after each test + ### Security ## [2.8.0] - 2020-11-28 diff --git a/test/test_helper.bash b/test/test_helper.bash index 386180b..d14c6ee 100644 --- a/test/test_helper.bash +++ b/test/test_helper.bash @@ -20,7 +20,7 @@ setup() { teardown() { remove_variable "/etc/default/bkctld" "BACKUP_DISK" - FORCE=1 /usr/lib/bkctld/bkctld-remove "${JAILNAME}" && rm -rf "${INCSPATH}" + FORCE=1 /usr/lib/bkctld/bkctld-remove "${JAILNAME}" && rm -rf "${INCSPATH}" "/etc/evobackup/${JAILNAME}" "/etc/evobackup/${JAILNAME}.d" } random_jail_name() {