Refactored.

This commit is contained in:
Thomas VIAL 2016-08-16 19:28:48 +02:00
parent ad99e1126e
commit efecf09ebf
No known key found for this signature in database
GPG Key ID: 0394CEE552FAFEFC
1 changed files with 2 additions and 2 deletions

View File

@ -15,10 +15,10 @@ if [ "$ENABLE_POP3" = 1 ]; then
[ "$status" -eq 0 ]
}
else ####################################################################################################
else skip ####################################################################################################
@test "checking process: process is not running" {
run docker exec mail /bin/bash -c "ps aux | grep 'dovecot/pop'"
run docker exec mail /bin/bash -c "ps aux | grep -v grep | grep 'dovecot/pop'"
[ "$status" -eq 1 ]
}