Smoke tests

This commit is contained in:
Alvaro Saurin committed 2015-05-28 10:05:22 +02:00
1 parent b8d4068a26
commit 0a803c61ff
4 files changed
+38 -10

No files matched your search

+2 -2
View File
@@ -9,7 +9,7 @@ NAME2=seetwo.weave.local
start_suite "Add and remove names on a single host"
weave_on $HOST1 launch-dns 10.2.254.1/24
weave_on $HOST1 launch-dns 10.2.254.1/24 --no-cache
start_container $HOST1 $C2/24 --name=c2
start_container_with_dns $HOST1 $C1/24 --name=c1
@@ -24,6 +24,6 @@ assert "exec_on $HOST1 c1 getent hosts $C1 | tr -s ' '" "$C1 $NAME1"
weave_on $HOST1 dns-remove $C1 c1
assert_raises "exec_on $HOST1 c1 getent hosts $NAME1" 2
assert_no_dns_record $HOST1 c1 $NAME1
end_suite