Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Implement smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
awh committed Sep 1, 2015
1 parent 52d1b90 commit f6fe1b9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/240_dns_add_name_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ weave_on $HOST1 dns-add $C2 c2 -h $NAME2
assert_dns_record $HOST1 c1 $NAME2 $C2

weave_on $HOST1 dns-add $C1 c1 -h $NAME1
weave_on $HOST1 dns-add $C1 c1 -h $NAME3
weave_on $HOST1 dns-add c1 -h $NAME3

assert_dns_a_record $HOST1 c1 $NAME1 $C1
assert_dns_a_record $HOST1 c1 $NAME3 $C1
Expand All @@ -30,4 +30,8 @@ weave_on $HOST1 dns-remove $C1 c1 -h $NAME1
assert_no_dns_record $HOST1 c1 $NAME1
assert_dns_a_record $HOST1 c1 $NAME3 $C1

weave_on $HOST1 dns-remove c1 -h $NAME3

assert_no_dns_record $HOST1 c1 $NAME3

end_suite

0 comments on commit f6fe1b9

Please sign in to comment.