Skip to content

Commit

Permalink
change to root to run verify command
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Oct 8, 2019
1 parent c80efe7 commit 5133d6b
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 @@ -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
Expand Down

0 comments on commit 5133d6b

Please sign in to comment.