mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 10:05:00 +02:00
mostly pwd
replacements and introduction of local keywords
This commit is contained in:
parent
0d219800ff
commit
3f5c518950
32 changed files with 80 additions and 80 deletions
|
@ -3,7 +3,7 @@ load 'test_helper/common'
|
|||
function setup() {
|
||||
docker run -d --name mail_with_default_relay \
|
||||
-v "$(duplicate_config_for_container relay-hosts)":/tmp/docker-mailserver \
|
||||
-v "`pwd`/test/test-files":/tmp/docker-mailserver-test:ro \
|
||||
-v "$(pwd)/test/test-files":/tmp/docker-mailserver-test:ro \
|
||||
-e DEFAULT_RELAY_HOST=default.relay.host.invalid:25 \
|
||||
--cap-add=SYS_PTRACE \
|
||||
-e PERMIT_DOCKER=host \
|
||||
|
@ -23,4 +23,4 @@ function teardown() {
|
|||
@test "checking default relay host: default relay host is added to main.cf" {
|
||||
run docker exec mail_with_default_relay /bin/sh -c 'grep -e "^relayhost =" /etc/postfix/main.cf'
|
||||
assert_output 'relayhost = default.relay.host.invalid:25'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue