Skip to content

Commit

Permalink
update char escaping for test command
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Oct 8, 2019
1 parent 95f2889 commit 585946a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/travis/container_verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ fi
echo ">>> VERIFY BUILD CONTAINER <<<"
DIR=$(mktemp -d)
echo "TEST_COMMAND:${TEST_COMMAND}"
echo "TEST:docker run --env TEST_COMMAND ${IMAGE}:${IMAGE_VERSION} bash -c \"\$(\${TEST_COMMAND})\""
export CONTAINER_OUTPUT=$(docker run --env TEST_COMMAND ${IMAGE}:${IMAGE_VERSION} bash -c "\$(\${TEST_COMMAND})")
echo "TEST:docker run --env TEST_COMMAND ${IMAGE}:${IMAGE_VERSION} bash -c '\$(\${TEST_COMMAND})'"
export CONTAINER_OUTPUT=$(docker run --env TEST_COMMAND ${IMAGE}:${IMAGE_VERSION} bash -c '$(${TEST_COMMAND})')
echo "CONTAINER_OUTPUT=${CONTAINER_OUTPUT}"

if [[ ! ${CONTAINER_OUTPUT} =~ ${TEST_COMMAND_VERIFY} ]]; then
Expand Down

0 comments on commit 585946a

Please sign in to comment.