summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12) <hs@schlittermann.de>2015-05-16 22:24:38 +0200
committerHeiko Schlittermann (HS12) <hs@schlittermann.de>2015-05-17 00:24:15 +0200
commitb5a60d02b6983fca92f422b88f5f03f7889a1ace (patch)
tree90ab034cfd06da28ee6c8506c12a2869d4644ed7 /test/runtest
parentfc362fc531e0ffc898c784e09f097327f5814289 (diff)
Testsuite: Munge the output to fit the ad=… lines
Diffstat (limited to 'test/runtest')
-rwxr-xr-xtest/runtest1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/runtest b/test/runtest
index 62ab01bac..70f1d9b4b 100755
--- a/test/runtest
+++ b/test/runtest
@@ -676,6 +676,7 @@ RESET_AFTER_EXTRA_LINE_READ:
s/^\s+host\s(\S+)\s+(\S+)/ host $1 $2/;
s/^\s+(host\s\S+\s\S+)\s+(port=.*)/ host $1 $2/;
s/^\s+(host\s\S+\s\S+)\s+(?=MX=)/ $1 /;
+ s/^\s+host\s.*?\K\s+(ad=\S+)/ $1/;
s/host\s\Q$parm_ipv4\E\s\[\Q$parm_ipv4\E\]/host ipv4.ipv4.ipv4.ipv4 [ipv4.ipv4.ipv4.ipv4]/;
s/host\s\Q$parm_ipv6\E\s\[\Q$parm_ipv6\E\]/host ip6:ip6:ip6:ip6:ip6:ip6:ip6:ip6 [ip6:ip6:ip6:ip6:ip6:ip6:ip6:ip6]/;
s/\b\Q$parm_ipv4\E\b/ip4.ip4.ip4.ip4/g;