diff --git a/scripts/travis/container_verify.sh b/scripts/travis/container_verify.sh index fbc6f3e..c5192a7 100755 --- a/scripts/travis/container_verify.sh +++ b/scripts/travis/container_verify.sh @@ -16,8 +16,8 @@ DIR=$(mktemp -d) echo "TEST_COMMAND:${TEST_COMMAND}" echo ${TEST_COMMAND}>"${DIR}/verify.bash" cat ${DIR}/verify.bash -echo "TEST:docker run -v ${DIR}:/verify ${IMAGE}:${IMAGE_VERSION} bash -c \"cp /verify/verify.bash /; ls /; chmod u+x /verify.bash; ./verify.bash\"" -export CONTAINER_OUTPUT=$(docker run -v ${DIR}:/verify ${IMAGE}:${IMAGE_VERSION} bash -c "cp /verify/verify.bash /; ls /; chmod u+x /verify.bash; ./verify.bash") +echo "TEST:docker run -v ${DIR}:/verify ${IMAGE}:${IMAGE_VERSION} bash -c \"cp /verify/verify.bash /; ls /; chmod u+x /verify.bash; cd /; ./verify.bash\"" +export CONTAINER_OUTPUT=$(docker run -v ${DIR}:/verify ${IMAGE}:${IMAGE_VERSION} bash -c "cp /verify/verify.bash /; ls /; chmod u+x /verify.bash; cd /; ./verify.bash") echo "CONTAINER_OUTPUT=${CONTAINER_OUTPUT}" if [[ ! ${CONTAINER_OUTPUT} =~ ${TEST_COMMAND_VERIFY} ]]; then