# For tests with pipes see: https://github.com/sstephenson/bats/issues/10 load 'bats/bats-support/load' load 'bats/bats-assert/load' @test "Should send 5 messages" { run bash -c "sudo docker-compose logs $batsContainerName | grep -E \"Received\[c2s\]: - Ensure this can be reached by users\"" assert_success assert_output }