From: Marcin Siodelski Date: Tue, 4 Dec 2018 09:39:44 +0000 (+0100) Subject: [#86,!152] Corrected FQDN sanitizer unit test. X-Git-Tag: 174-warning-for-unused-trace-levels_base~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51eb5d65cbf121baf0a635412fa2b9f1c608c39b;p=thirdparty%2Fkea.git [#86,!152] Corrected FQDN sanitizer unit test. --- diff --git a/src/lib/dhcpsrv/tests/d2_client_unittest.cc b/src/lib/dhcpsrv/tests/d2_client_unittest.cc index 3f5860b5af..4c6f650330 100644 --- a/src/lib/dhcpsrv/tests/d2_client_unittest.cc +++ b/src/lib/dhcpsrv/tests/d2_client_unittest.cc @@ -1149,31 +1149,31 @@ TEST(D2ClientMgr, sanitizeFqdnV4) { "partial FQDN, name unchanged, but qualified", "One.123", Option4ClientFqdn::PARTIAL, - "One.123.suffix.com." + "one.123.suffix.com." }, { "full FQDN, scrubbed", "O#n^e.123.ex&a*mple.com.", Option4ClientFqdn::FULL, - "Oxnxe.123.exxaxmple.com." + "oxnxe.123.exxaxmple.com." }, { "partial FQDN, scrubbed and qualified", "One.1+2|3", Option4ClientFqdn::PARTIAL, - "One.1x2x3.suffix.com." + "one.1x2x3.suffix.com." }, { "full FQDN with characters that get escaped", "O n e.123.exa(m)ple.com.", Option4ClientFqdn::FULL, - "Oxnxe.123.exaxmxple.com." + "oxnxe.123.exaxmxple.com." }, { "full FQDN with escape sequences", "O\032n\032e.123.example.com.", Option4ClientFqdn::FULL, - "Oxnxe.123.example.com." + "oxnxe.123.example.com." } };