fix default for removing images

This commit is contained in:
Brian Coca 2016-05-05 15:59:47 -04:00
parent 7b58240654
commit 2af8e3b9d8

View file

@ -18,7 +18,7 @@ else
docker exec -ti $(cat /tmp/cid_${TARGET}) /bin/sh -c "export TEST_FLAGS='${TEST_FLAGS:-''}'; cd /root/ansible; . hacking/env-setup; (cd test/integration; LC_ALL=en_US.utf-8 make ${MAKE_TARGET:-})"
docker kill $(cat /tmp/cid_${TARGET})
if [ "X${TESTS_KEEP_CONTAINER:-''}" = "X" ]; then
if [ "X${TESTS_KEEP_CONTAINER:-""}" = "X" ]; then
docker rm -vf "${C_NAME}"
fi
fi