]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3400] Skeleton for Bundy backend added.
authorTomek Mrugalski <tomasz@isc.org>
Tue, 6 May 2014 19:07:57 +0000 (21:07 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 6 May 2014 19:07:57 +0000 (21:07 +0200)
src/bin/dhcp6/tests/bundy_backend_unittest.cc [new file with mode: 0644]
src/lib/dhcpsrv/daemon.cc

diff --git a/src/bin/dhcp6/tests/bundy_backend_unittest.cc b/src/bin/dhcp6/tests/bundy_backend_unittest.cc
new file mode 100644 (file)
index 0000000..f556560
--- /dev/null
@@ -0,0 +1,26 @@
+// Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
+//
+// Permission to use, copy, modify, and/or distribute this software for any
+// purpose with or without fee is hereby granted, provided that the above
+// copyright notice and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+// AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+// PERFORMANCE OF THIS SOFTWARE.
+
+#include <config.h>
+
+#include <gtest/gtest.h>
+
+namespace {
+
+// Bundy framework specific tests should be added here.
+TEST(BundyBackendTest, dummy) {
+
+}
+
+} // End of anonymous namespace
index 2c7d64946032155b715c4375d7f5b67e084a1361..df74ea401991281d50f28c6f5d24bb3d58ccc6b7 100644 (file)
@@ -103,7 +103,7 @@ void Daemon::loggerInit(const char* log_name, bool verbose, bool ) {
     // @todo: Find out why this is needed. Without this, the logger doesn't
     // work.
     setenv("B10_LOCKFILE_DIR_FROM_BUILD", TOP_BUILDDIR, 1);
-    
+
     // Initialize logging
     initLogger(log_name, severity, isc::log::MAX_DEBUG_LEVEL, NULL);