From 437d3b74cc5b27a5eb94f62b08c14e80ddb289d2 Mon Sep 17 00:00:00 2001 From: Vortex Date: Thu, 31 Oct 2019 02:38:45 +0100 Subject: [PATCH] added test for "checking configuration: user-patches.sh executed" - should fail with this commit --- test/tests.bats | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/tests.bats b/test/tests.bats index 54ee1acb..c64c73ad 100644 --- a/test/tests.bats +++ b/test/tests.bats @@ -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