mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Added new line when needed and fixed a test
This commit is contained in:
parent
e8163dc728
commit
678329276e
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
.DS_Store
|
||||
docker-compose.yml
|
||||
postfix/ssl/*
|
||||
assert.sh
|
||||
assert.sh
|
||||
|
|
|
@ -3,4 +3,4 @@ sudo: required
|
|||
services:
|
||||
- docker
|
||||
script:
|
||||
- make all
|
||||
- make all
|
||||
|
|
|
@ -10,10 +10,7 @@ assert "docker exec mail ls /var/mail/otherdomain.tld/user2" "cur\nnew\ntmp"
|
|||
|
||||
# Testing that mail is received for existing user
|
||||
assert_raises "docker exec mail grep 'status=sent (delivered to maildir)' /var/log/mail.log" "false"
|
||||
assert "docker exec mail ls -A /var/mail/localhost.localdomain/user1/new | wc -l" " 1"
|
||||
assert "docker exec mail ls -A /var/mail/localhost.localdomain/user1/new | wc -l" "1"
|
||||
|
||||
# Ending tests
|
||||
assert_end
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue