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
1
Makefile
1
Makefile
|
@ -27,4 +27,3 @@ fixtures:
|
||||||
tests:
|
tests:
|
||||||
# Start tests
|
# Start tests
|
||||||
./test/test.sh
|
./test/test.sh
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue