about summary refs log tree commit diff
path: root/support/tst-support_format_dns_packet.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-06-24 18:16:41 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-06-24 18:18:41 +0200
commit62a321b12d0e397af88fa422db65079332f971dc (patch)
treeb9af8bb37cac7d94eeacfc86112d4cf8f676bb61 /support/tst-support_format_dns_packet.c
parent58fc66a91ca511cc12901cb599914f31948e02d5 (diff)
downloadglibc-62a321b12d0e397af88fa422db65079332f971dc.tar.gz
glibc-62a321b12d0e397af88fa422db65079332f971dc.tar.xz
glibc-62a321b12d0e397af88fa422db65079332f971dc.zip
support: Change non-address output format of support_format_dns_packet
It makes sense to include the owner name (LHS) and record type in the
output, so that they can be checked for correctness.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'support/tst-support_format_dns_packet.c')
-rw-r--r--support/tst-support_format_dns_packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/tst-support_format_dns_packet.c b/support/tst-support_format_dns_packet.c
index cb7ff53b87..9839aa767e 100644
--- a/support/tst-support_format_dns_packet.c
+++ b/support/tst-support_format_dns_packet.c
@@ -85,8 +85,8 @@ test_multiple_cnames (void)
     "\xc0\x00\x02\x01";
   check_packet (packet, sizeof (packet) - 1, __func__,
                 "name: www.example\n"
-                "name: www1.example\n"
-                "name: www2.example\n"
+                "data: www.example CNAME www1.example\n"
+                "data: www1.example CNAME www2.example\n"
                 "address: 192.0.2.1\n");
 }