2013-12-08 20:41:50 -05:00
|
|
|
#!/bin/bash
|
2014-04-08 00:14:19 -04:00
|
|
|
set -e
|
2013-12-08 20:41:50 -05:00
|
|
|
|
|
|
|
DEST=$1
|
|
|
|
INIT=$DEST/../dynbinary/dockerinit-$VERSION
|
|
|
|
|
|
|
|
if [ ! -x "$INIT" ]; then
|
|
|
|
echo >&2 'error: dynbinary must be run before dyntest-integration'
|
|
|
|
false
|
|
|
|
fi
|
|
|
|
|
|
|
|
(
|
|
|
|
export TEST_DOCKERINIT_PATH="$INIT"
|
2014-03-06 21:55:22 -05:00
|
|
|
export LDFLAGS_STATIC_DOCKER="
|
2014-07-24 18:19:50 -04:00
|
|
|
-X github.com/docker/docker/dockerversion.INITSHA1 \"$DOCKER_INITSHA1\"
|
2014-03-06 21:55:22 -05:00
|
|
|
"
|
2013-12-08 20:41:50 -05:00
|
|
|
source "$(dirname "$BASH_SOURCE")/test-integration"
|
|
|
|
)
|