use dnsutils image in one test instead of awk on all the tests.
This commit is contained in:
1 parent
8d7fe2b9e7
commit
d2b17690f9
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -128,7 +128,7 @@ assert_dns_record() {
|
||||
|
||||
[ -z "$DEBUG" ] || greyly echo "Checking whether the IPs '$@' exists at $host:$container"
|
||||
for ip in "$@" ; do
|
||||
assert "exec_on $host $container getent hosts $ip | awk '{print \$2}'" "$name"
|
||||
assert "exec_on $host $container getent hosts $ip | tr -s ' '" "$ip $name"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user