mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 01:55:29 +02:00
- test for user-patches.sh
This commit is contained in:
parent
34f52c6ad0
commit
37540509dc
3 changed files with 4 additions and 4 deletions
|
@ -3,4 +3,4 @@
|
|||
# This user script will be executed between configuration and starting daemons
|
||||
# To enable it you must save it in your config directory as "user-patches.sh"
|
||||
##
|
||||
echo "Default user-patches.sh successfully executed!"
|
||||
echo "Default user-patches.sh successfully executed"
|
|
@ -28,8 +28,8 @@ function count_processed_changes() {
|
|||
#
|
||||
|
||||
@test "checking configuration: user-patches.sh executed" {
|
||||
run docker logs mail | grep "Default user-patches.sh successfully executed!"
|
||||
assert_success
|
||||
run echo -n "`docker logs mail | grep 'user\-patches\.sh'`"
|
||||
assert_output --partial "Default user-patches.sh successfully executed"
|
||||
}
|
||||
|
||||
@test "checking configuration: hostname/domainname" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue