]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#86,!152] Corrected FQDN sanitizer unit test.
authorMarcin Siodelski <marcin@isc.org>
Tue, 4 Dec 2018 09:39:44 +0000 (10:39 +0100)
committerMarcin Siodelski <marcin@isc.org>
Tue, 4 Dec 2018 09:39:44 +0000 (10:39 +0100)
src/lib/dhcpsrv/tests/d2_client_unittest.cc

index 3f5860b5af87ec0c16b4e6d1ee59250e045c4d59..4c6f650330fb1b87f5e8eb8b586085d227f48fb7 100644 (file)
@@ -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."
         }
     };