1
1
Fork 0
mirror of https://github.com/docker-mailserver/docker-mailserver synced 2024-05-26 11:16:06 +02:00

Added new line when needed and fixed a test

This commit is contained in:
Thomas VIAL 2015-10-18 21:30:53 +02:00
parent e8163dc728
commit 678329276e
4 changed files with 3 additions and 7 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
.DS_Store
docker-compose.yml
postfix/ssl/*
assert.sh
assert.sh

View File

@ -3,4 +3,4 @@ sudo: required
services:
- docker
script:
- make all
- make all

View File

@ -27,4 +27,3 @@ fixtures:
tests:
# Start tests
./test/test.sh

View File

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