From: Stefan Bühler Date: Sat, 30 Dec 2017 12:09:48 +0000 (+0100) Subject: test-dnsrecords: use hex escapes X-Git-Tag: dnsdist-1.3.0~122^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32b7ffa1b410d0fba7c74e93f1a642e10209ec4f;p=thirdparty%2Fpdns.git test-dnsrecords: use hex escapes --- diff --git a/pdns/test-dnsrecords_cc.cc b/pdns/test-dnsrecords_cc.cc index 1ebd89e47b..44de08ef56 100644 --- a/pdns/test-dnsrecords_cc.cc +++ b/pdns/test-dnsrecords_cc.cc @@ -76,9 +76,9 @@ BOOST_AUTO_TEST_CASE(test_record_types) { (CASE_L(QType::HINFO, "\"i686\" Linux", "\"i686\" \"Linux\"", "\x04i686\x05Linux",false)) (CASE_L(QType::HINFO, "i686 Linux", "\"i686\" \"Linux\"", "\x04i686\x05Linux",true)) // local name - (CASE_S(QType::MX, "10 mx.rec.test.", "\x00\x0a\02mx\xc0\x11",false)) + (CASE_S(QType::MX, "10 mx.rec.test.", "\x00\x0a\x02mx\xc0\x11",false)) // non-local name - (CASE_S(QType::MX, "20 mx.example.com.", "\x00\x14\02mx\x07""example\x03""com\x00",false)) + (CASE_S(QType::MX, "20 mx.example.com.", "\x00\x14\x02mx\x07""example\x03""com\x00",false)) // root label (CASE_S(QType::MX, "20 .", "\x00\x14\x00",false))