use already-defined constants
This commit is contained in:
1 parent
1c1bd817e1
commit
c3c5b76007
2 files changed
+2
-2
No files matched your search
@@ -15,6 +15,6 @@ weave_on $HOST1 run --with-dns $C1/24 -t --name=c1 aanand/docker-dnsutils /bin/s
|
||||
|
||||
assert_dns_record $HOST1 c1 $NAME $C2
|
||||
|
||||
assert_raises "exec_on $HOST1 c1 dig MX seetwo.weave.local | grep -q \"status: NXDOMAIN\""
|
||||
assert_raises "exec_on $HOST1 c1 dig MX $NAME | grep -q \"status: NXDOMAIN\""
|
||||
|
||||
end_suite
|
||||
@@ -14,7 +14,7 @@ weave_on $HOST1 launch-dns 10.2.254.1/24
|
||||
|
||||
start_container $HOST1 $C1/24 --name=c1 -h $NAME
|
||||
weave_on $HOST1 run --with-dns $C2/24 -t --name=c2 -h seetwo.$DOMAIN aanand/docker-dnsutils /bin/sh
|
||||
weave_on $HOST1 run --with-dns $C3/24 -t --name=c3 --dns-search=weave.local aanand/docker-dnsutils /bin/sh
|
||||
weave_on $HOST1 run --with-dns $C3/24 -t --name=c3 --dns-search=$DOMAIN aanand/docker-dnsutils /bin/sh
|
||||
|
||||
assert "exec_on $HOST1 c2 getent hosts seeone | tr -s ' '" "$C1 $NAME"
|
||||
assert "exec_on $HOST1 c3 getent hosts seeone | tr -s ' '" "$C1 $NAME"
|
||||
|
||||
Reference in new issue
Block a user