github.com/jogo/docker@v1.7.0-rc1/hack/make/test-integration-cli (about) 1 #!/bin/bash 2 set -e 3 4 DEST=$1 5 6 bundle_test_integration_cli() { 7 go_test_dir ./integration-cli 8 } 9 10 # subshell so that we can export PATH without breaking other things 11 ( 12 source "${MAKEDIR}/.integration-daemon-start" 13 14 source "${MAKEDIR}/.ensure-frozen-images" 15 source "${MAKEDIR}/.ensure-httpserver" 16 source "${MAKEDIR}/.ensure-emptyfs" 17 18 bundle_test_integration_cli 19 20 source "${MAKEDIR}/.integration-daemon-stop" 21 ) 2>&1 | tee -a "$DEST/test.log"