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

View file

@ -583,6 +583,11 @@
[ "$status" -eq 1 ] [ "$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" { @test "checking system: sets the server fqdn" {
run docker exec mail hostname run docker exec mail hostname
[ "$status" -eq 0 ] [ "$status" -eq 0 ]