]> git.ipfire.org Git - thirdparty/kea.git/commit
[5369] Update kea-dhcp4 unit tests to catch the problem
authorThomas Markwalder <tmark@isc.org>
Fri, 29 Sep 2017 15:15:27 +0000 (11:15 -0400)
committerThomas Markwalder <tmark@isc.org>
Fri, 29 Sep 2017 15:15:27 +0000 (11:15 -0400)
commite2f7a8c947c7800a79ebf904e6d99e29ec59616e
treede9fd8a8606e3130b3df8358d488a8a3f23958a2
parentcdfbc19538f4104e307f24ce2b46887573148ebd
[5369] Update kea-dhcp4 unit tests to catch the problem

src/bin/dhcp4/tests/fqdn_unittest.cc
    TEST_F(NameDhcpv4SrvTest, processRequestFqdnEmptyDomainName)
    - Added renew cycle to verify DNS is not altered

    TEST_F(NameDhcpv4SrvTest, processRequestRenewFqdn)
    TEST_F(NameDhcpv4SrvTest, processRequestRenewHostname)
        New tests to verify clients which renew with a different
        FQDN/hostnames generte a CHG_REMOVE and a CHG_ADD
src/bin/dhcp4/tests/fqdn_unittest.cc