tests: clean jail configuration after each test
This commit is contained in:
parent
68a7da6b88
commit
b7cddcac27
|
@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
* tests: clean jail configuration after each test
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
## [2.8.0] - 2020-11-28
|
## [2.8.0] - 2020-11-28
|
||||||
|
|
|
@ -20,7 +20,7 @@ setup() {
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
remove_variable "/etc/default/bkctld" "BACKUP_DISK"
|
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() {
|
random_jail_name() {
|
||||||
|
|
Loading…
Reference in a new issue