Files
weave/test/650_proxy_entrypoint_override_test.sh
T
2015-05-22 15:52:36 +01:00

15 lines
382 B
Bash
Executable File

#! /bin/bash
. ./config.sh
start_suite "Proxy allows overridden entrypoint from the container with weavewait"
weave_on $HOST1 launch-proxy
docker_on $HOST1 build -t false - <<- EOF
FROM $SMALL_IMAGE
ENTRYPOINT ["/bin/false"]
EOF
assert_raises "proxy docker_on $HOST1 run -e 'WEAVE_CIDR=10.2.1.1/24' --entrypoint '/sbin/ip' false link show ethwe | grep 'state UP'"
end_suite