Refactored.

This commit is contained in:
Thomas VIAL 2016-08-14 23:29:51 +02:00
parent 8beaedcdc5
commit bf2b1c94ce
No known key found for this signature in database
GPG Key ID: 0394CEE552FAFEFC
1 changed files with 0 additions and 18 deletions

View File

@ -84,24 +84,6 @@ fi
[ "$status" -eq 0 ]
}
#
# pop
#
if [ $ENABLE_POP3 = 1 ]; then
@test "checking pop: server is ready" {
run docker exec mail /bin/bash -c "nc -w 1 0.0.0.0 110 | grep '+OK'"
[ "$status" -eq 0 ]
}
@test "checking pop: authentication works" {
run docker exec mail /bin/sh -c "nc -w 1 0.0.0.0 110 < /tmp/docker-mailserver-test/auth/pop3-auth.txt"
[ "$status" -eq 0 ]
}
fi
#
# sasl
#