diff --git a/test/tests.bats b/test/tests.bats index af0236e4..df632df8 100644 --- a/test/tests.bats +++ b/test/tests.bats @@ -347,7 +347,7 @@ load 'test_helper/bats-assert/load' } @test "checking accounts: comments are not parsed" { - run docker exec mail ls /var/mail | grep "comment" + run docker exec mail /bin/bash -c "ls /var/mail | grep 'comment'" assert_failure }