Fix filtering out docker-bench-security container from results

Signed-off-by: Pete Sellars <psellars@gmail.com>
This commit is contained in:
Pete Sellars 2015-08-05 22:08:39 +12:00
parent 3e6636c044
commit 57ac3cee99

View file

@ -74,7 +74,7 @@ done
# Load all the tests from tests/ and run them
main () {
# List all running containers
containers=$(docker ps -q)
containers=$(docker ps | sed '1d' | awk '{print $NF}')
# If there is a container with label docker_bench_security, memorize it:
benchcont="nil"
for c in $containers; do