added test for "checking configuration: user-patches.sh executed" - should fail with this commit

This commit is contained in:
Vortex 2019-10-31 02:38:45 +01:00
parent 5e6969e594
commit 437d3b74cc
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@ function count_processed_changes() {
# configuration checks
#
@test "checking configuration: user-patches.sh executed" {
run docker logs mail | grep "Default user-patches.sh successfully executed!"
assert_output "Default user-patches.sh successfully executed!"
}
@test "checking configuration: hostname/domainname" {
run docker run `docker inspect --format '{{ .Config.Image }}' mail`
assert_success