mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 10:05:00 +02:00
WIP: actually test PERMIT_DOCKER=connected-networks
also showcase timeouts and makefile integration
This commit is contained in:
parent
eb988aba43
commit
fcce47a392
7 changed files with 139 additions and 29 deletions
|
@ -1232,12 +1232,6 @@ function count_processed_changes() {
|
|||
assert_success
|
||||
}
|
||||
|
||||
@test "checking PERMIT_DOCKER: connected-networks" {
|
||||
run docker exec mail_smtponly_second_network /bin/sh -c "postconf | grep '^mynetworks ='"
|
||||
assert_output --regexp "192\.168\.13\.[0-9]{1,3}\/24"
|
||||
assert_output --regexp '192.168.37.[0-9]{1,3}/24'
|
||||
}
|
||||
|
||||
#
|
||||
# amavis
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue