mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
100267de81
- move docker/docker-py clone to the Dockerfile - put "integration test daemon startup" code in a separate file for both scripts to source - add new test-docker-py Makefile target - include "python-websocket" package in Dockerfile for running the tests Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
23 lines
472 B
Bash
23 lines
472 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
DEST=$1
|
|
|
|
bundle_test_integration_cli() {
|
|
go_test_dir ./integration-cli
|
|
}
|
|
|
|
# subshell so that we can export PATH without breaking other things
|
|
exec > >(tee -a $DEST/test.log) 2>&1
|
|
(
|
|
source "$(dirname "$BASH_SOURCE")/.integration-daemon-start"
|
|
|
|
# pull the busybox image before running the tests
|
|
sleep 2
|
|
|
|
source "$(dirname "$BASH_SOURCE")/.ensure-busybox"
|
|
|
|
bundle_test_integration_cli
|
|
|
|
source "$(dirname "$BASH_SOURCE")/.integration-daemon-stop"
|
|
)
|