mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 09:34:33 +02:00
This commit is contained in:
parent
351c9c80a8
commit
cc56b4f89e
4 changed files with 13 additions and 4 deletions
|
@ -6,7 +6,7 @@ load 'test_helper/bats-assert/load'
|
|||
|
||||
@test "checking configuration: hostname/domainname" {
|
||||
run docker run `docker inspect --format '{{ .Config.Image }}' mail`
|
||||
assert_failure
|
||||
assert_success
|
||||
}
|
||||
|
||||
@test "checking configuration: hostname/domainname override" {
|
||||
|
@ -1785,3 +1785,12 @@ load 'test_helper/bats-assert/load'
|
|||
run docker exec mail grep "Subject: Root Test Message" /var/mail/localhost.localdomain/user1/new/ -R
|
||||
assert_success
|
||||
}
|
||||
|
||||
#
|
||||
# clean exit
|
||||
#
|
||||
|
||||
@test "checking that the container stops cleanly" {
|
||||
run docker stop -t 60 mail
|
||||
assert_success
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue