From efecf09ebf53c10bbce5a1ec1a141f68c2eba83c Mon Sep 17 00:00:00 2001 From: Thomas VIAL Date: Tue, 16 Aug 2016 19:28:48 +0200 Subject: [PATCH] Refactored. --- test/ENABLE_POP3.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ENABLE_POP3.bats b/test/ENABLE_POP3.bats index 0e0337f8..ebd549df 100644 --- a/test/ENABLE_POP3.bats +++ b/test/ENABLE_POP3.bats @@ -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 ] }