2013-12-09 01:41:50 +00:00
|
|
|
#!/bin/bash
|
2014-04-08 04:14:19 +00:00
|
|
|
set -e
|
2013-12-09 01:41:50 +00: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-10-28 23:29:01 +00:00
|
|
|
export LDFLAGS_STATIC_DOCKER="
|
|
|
|
-X $DOCKER_PKG/dockerversion.INITSHA1 \"$DOCKER_INITSHA1\"
|
|
|
|
"
|
2013-12-09 01:41:50 +00:00
|
|
|
source "$(dirname "$BASH_SOURCE")/test-integration"
|
|
|
|
)
|