don't use $(exec_on ...)

since that will cause the test to exit on failure
This commit is contained in:
Matthias Radestock committed 2015-04-22 20:09:34 +01:00
1 parent eebb674232
commit 22c04bfc24
4 files changed
+7 -13

No files matched your search

+1 -2
View File
@@ -25,7 +25,6 @@ weave_on $HOST1 run --with-dns $C1/24 --name=c1 -t aanand/docker-dnsutils /bin/s
assert_dns_record $HOST1 c1 $NAME $C2
ok=$(exec_on $HOST1 c1 getent hosts 8.8.8.8)
assert_raises "echo $ok | grep google"
assert_raises "exec_on $HOST1 c1 getent hosts 8.8.8.8 | grep google"
end_suite