15 lines
358 B
Bash
Executable File
15 lines
358 B
Bash
Executable File
#! /bin/bash
|
|
|
|
. ./config.sh
|
|
|
|
start_suite "Proxy uses entrypoint from the image with weavewait"
|
|
weave_on $HOST1 launch-proxy
|
|
docker_on $HOST1 build -t inspect-ethwe - <<- EOF
|
|
FROM $SMALL_IMAGE
|
|
ENTRYPOINT ["ip", "link", "show", "ethwe"]
|
|
EOF
|
|
|
|
assert_raises "proxy docker_on $HOST1 run -e 'WEAVE_CIDR=10.2.1.1/24' inspect-ethwe | grep 'state UP'"
|
|
|
|
end_suite
|