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 .DS_Store
docker-compose.yml docker-compose.yml
postfix/ssl/* postfix/ssl/*
assert.sh assert.sh

View file

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

View file

@ -27,4 +27,3 @@ fixtures:
tests: tests:
# Start tests # Start tests
./test/test.sh ./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 # 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_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 # Ending tests
assert_end assert_end