WIP: actually test PERMIT_DOCKER=connected-networks

also showcase timeouts and makefile integration
This commit is contained in:
Martin Schulze 2019-08-07 02:24:56 +02:00
parent eb988aba43
commit fcce47a392
7 changed files with 139 additions and 29 deletions

View file

@ -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
#