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'
|
|||
@test "checking SRS: SRS_DOMAINNAME is used correctly" {
|
||||
docker run --rm -d --name mail_srs_domainname \
|
||||
-v "$(duplicate_config_for_container . mail_srs_domainname)":/tmp/docker-mailserver \
|
||||
-v "`pwd`/test/test-files":/tmp/docker-mailserver-test:ro \
|
||||
-v "$(pwd)/test/test-files":/tmp/docker-mailserver-test:ro \
|
||||
-e PERMIT_DOCKER=network \
|
||||
-e DMS_DEBUG=0 \
|
||||
-e ENABLE_SRS=1 \
|
||||
|
@ -20,7 +20,7 @@ load 'test_helper/common'
|
|||
@test "checking SRS: DOMAINNAME is handled correctly" {
|
||||
docker run --rm -d --name mail_domainname \
|
||||
-v "$(duplicate_config_for_container . mail_domainname)":/tmp/docker-mailserver \
|
||||
-v "`pwd`/test/test-files":/tmp/docker-mailserver-test:ro \
|
||||
-v "$(pwd)/test/test-files":/tmp/docker-mailserver-test:ro \
|
||||
-e PERMIT_DOCKER=network \
|
||||
-e DMS_DEBUG=0 \
|
||||
-e ENABLE_SRS=1 \
|
||||
|
@ -31,4 +31,4 @@ load 'test_helper/common'
|
|||
teardown() { docker rm -f mail_domainname; }
|
||||
|
||||
repeat_until_success_or_timeout 15 docker exec mail_domainname grep "SRS_DOMAIN=my-domain.com" /etc/default/postsrsd
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue