Files
weave/test/205_dns_disabled_test.sh
Bryan Boreham 98e6571059 Remove 'weave run', 'start' and 'restart'
Replace with informative message.
Also fix up tests which were calling these commands.
2017-04-12 12:15:37 +01:00

19 lines
352 B
Bash
Executable File

#! /bin/bash
. "$(dirname "$0")/config.sh"
C1=10.2.0.87
start_suite "Standard behaviour when weaveDNS is disabled"
weave_on $HOST1 launch --no-dns
assert "weave_on $HOST1 dns-args" ""
C=$(start_container_with_dns $HOST1 $C1/24 --name=c1)
# external name resolution works
assert_raises "exec_on $HOST1 c1 getent hosts www.weave.works"
end_suite