mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-30 07:35:07 +02:00
housekeeping
This commit is contained in:
parent
2f840d7da5
commit
ed7106b04d
20 changed files with 184 additions and 181 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
#! /bin/bash
|
||||
|
||||
# version v0.1.0 stable
|
||||
# executed by TravisCI / manually
|
||||
|
@ -190,7 +190,7 @@ function _shellcheck
|
|||
fi
|
||||
done < <(find test/ -maxdepth 1 -type f -iname "*.bats")
|
||||
|
||||
if [[ ERR -eq 1 ]]
|
||||
if [[ ${ERR} -eq 1 ]]
|
||||
then
|
||||
__log_abort 'errors encountered'
|
||||
return 101
|
||||
|
|
|
@ -63,6 +63,7 @@ function teardown_file() {
|
|||
assert_success
|
||||
run docker exec mail_smtponly /bin/sh -c "/etc/init.d/postfix reload"
|
||||
assert_success
|
||||
sleep 5
|
||||
run docker exec mail_smtponly /bin/sh -c "nc 0.0.0.0 25 < /tmp/docker-mailserver-test/email-templates/smtp-only.txt"
|
||||
assert_success
|
||||
run docker exec mail_smtponly /bin/sh -c 'grep -cE "to=<user2\@external.tld>.*status\=sent" /var/log/mail/mail.log'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue