fix default for removing images

(cherry picked from commit 2af8e3b9d8)
This commit is contained in:
Brian Coca 2016-05-05 15:59:47 -04:00 committed by Matt Clay
parent d77ff116c2
commit 73b250ecf7

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