Added test

This commit is contained in:
Thomas VIAL 2016-12-17 21:53:09 +01:00
parent 5ce957efa1
commit a9b1686e57
No known key found for this signature in database
GPG Key ID: 0394CEE552FAFEFC
1 changed files with 5 additions and 0 deletions

View File

@ -583,6 +583,11 @@
[ "$status" -eq 1 ]
}
@test "checking system: /var/log/auth.log is error free" {
run docker exec mail grep 'Unable to open env file: /etc/default/locale' /var/log/auth.log
[ "$status" -eq 1 ]
}
@test "checking system: sets the server fqdn" {
run docker exec mail hostname
[ "$status" -eq 0 ]