18 lines
377 B
Bash
Executable File
18 lines
377 B
Bash
Executable File
#! /bin/bash
|
|
|
|
. ./config.sh
|
|
|
|
DNS_ARGS="--no-cache"
|
|
[ -n "$DEBUG" ] && DNS_ARGS="--debug"
|
|
|
|
start_suite "Resolve a non-weave address"
|
|
|
|
launch_dns_on $HOST1 10.2.254.1/24
|
|
|
|
start_container_with_dns $HOST1 10.2.1.5/24 --name=c1
|
|
|
|
assert_raises "exec_on $HOST1 c1 host -t mx weave.works | grep google"
|
|
assert_raises "exec_on $HOST1 c1 getent hosts 8.8.8.8 | grep google"
|
|
|
|
end_suite
|