summaryrefslogtreecommitdiffstats
path: root/src/hooks/dhcp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hooks/dhcp')
-rw-r--r--src/hooks/dhcp/bootp/libloadtests/run_unittests.cc7
-rw-r--r--src/hooks/dhcp/lease_cmds/libloadtests/run_unittests.cc7
-rw-r--r--src/hooks/dhcp/mysql_cb/libloadtests/run_unittests.cc7
-rw-r--r--src/hooks/dhcp/mysql_cb/tests/run_unittests.cc1
-rw-r--r--src/hooks/dhcp/perfmon/libloadtests/run_unittests.cc7
-rw-r--r--src/hooks/dhcp/pgsql_cb/libloadtests/run_unittests.cc7
-rw-r--r--src/hooks/dhcp/pgsql_cb/tests/run_unittests.cc1
-rw-r--r--src/hooks/dhcp/stat_cmds/libloadtests/run_unittests.cc7
-rw-r--r--src/hooks/dhcp/user_chk/tests/run_unittests.cc2
9 files changed, 18 insertions, 28 deletions
diff --git a/src/hooks/dhcp/bootp/libloadtests/run_unittests.cc b/src/hooks/dhcp/bootp/libloadtests/run_unittests.cc
index d9e195d96f..96a0ba7bb7 100644
--- a/src/hooks/dhcp/bootp/libloadtests/run_unittests.cc
+++ b/src/hooks/dhcp/bootp/libloadtests/run_unittests.cc
@@ -1,19 +1,18 @@
// Copyright (C) 2022 Internet Systems Consortium, Inc. ("ISC")
//
-// This Source Code Form is subject to the terms of the End User License
-// Agreement. See COPYING file in the premium/ directory.
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <log/logger_support.h>
-
#include <gtest/gtest.h>
int
main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
isc::log::initLogger();
-
int result = RUN_ALL_TESTS();
return (result);
diff --git a/src/hooks/dhcp/lease_cmds/libloadtests/run_unittests.cc b/src/hooks/dhcp/lease_cmds/libloadtests/run_unittests.cc
index d9e195d96f..96a0ba7bb7 100644
--- a/src/hooks/dhcp/lease_cmds/libloadtests/run_unittests.cc
+++ b/src/hooks/dhcp/lease_cmds/libloadtests/run_unittests.cc
@@ -1,19 +1,18 @@
// Copyright (C) 2022 Internet Systems Consortium, Inc. ("ISC")
//
-// This Source Code Form is subject to the terms of the End User License
-// Agreement. See COPYING file in the premium/ directory.
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <log/logger_support.h>
-
#include <gtest/gtest.h>
int
main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
isc::log::initLogger();
-
int result = RUN_ALL_TESTS();
return (result);
diff --git a/src/hooks/dhcp/mysql_cb/libloadtests/run_unittests.cc b/src/hooks/dhcp/mysql_cb/libloadtests/run_unittests.cc
index d9e195d96f..96a0ba7bb7 100644
--- a/src/hooks/dhcp/mysql_cb/libloadtests/run_unittests.cc
+++ b/src/hooks/dhcp/mysql_cb/libloadtests/run_unittests.cc
@@ -1,19 +1,18 @@
// Copyright (C) 2022 Internet Systems Consortium, Inc. ("ISC")
//
-// This Source Code Form is subject to the terms of the End User License
-// Agreement. See COPYING file in the premium/ directory.
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <log/logger_support.h>
-
#include <gtest/gtest.h>
int
main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
isc::log::initLogger();
-
int result = RUN_ALL_TESTS();
return (result);
diff --git a/src/hooks/dhcp/mysql_cb/tests/run_unittests.cc b/src/hooks/dhcp/mysql_cb/tests/run_unittests.cc
index 6ec23da404..906418008a 100644
--- a/src/hooks/dhcp/mysql_cb/tests/run_unittests.cc
+++ b/src/hooks/dhcp/mysql_cb/tests/run_unittests.cc
@@ -7,7 +7,6 @@
#include <config.h>
#include <log/logger_support.h>
-
#include <gtest/gtest.h>
int
diff --git a/src/hooks/dhcp/perfmon/libloadtests/run_unittests.cc b/src/hooks/dhcp/perfmon/libloadtests/run_unittests.cc
index 0500503ac2..755b9e4e88 100644
--- a/src/hooks/dhcp/perfmon/libloadtests/run_unittests.cc
+++ b/src/hooks/dhcp/perfmon/libloadtests/run_unittests.cc
@@ -1,19 +1,18 @@
// Copyright (C) 2024 Internet Systems Consortium, Inc. ("ISC")
//
-// This Source Code Form is subject to the terms of the End User License
-// Agreement. See COPYING file in the premium/ directory.
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <log/logger_support.h>
-
#include <gtest/gtest.h>
int
main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
isc::log::initLogger();
-
int result = RUN_ALL_TESTS();
return (result);
diff --git a/src/hooks/dhcp/pgsql_cb/libloadtests/run_unittests.cc b/src/hooks/dhcp/pgsql_cb/libloadtests/run_unittests.cc
index d9e195d96f..96a0ba7bb7 100644
--- a/src/hooks/dhcp/pgsql_cb/libloadtests/run_unittests.cc
+++ b/src/hooks/dhcp/pgsql_cb/libloadtests/run_unittests.cc
@@ -1,19 +1,18 @@
// Copyright (C) 2022 Internet Systems Consortium, Inc. ("ISC")
//
-// This Source Code Form is subject to the terms of the End User License
-// Agreement. See COPYING file in the premium/ directory.
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <log/logger_support.h>
-
#include <gtest/gtest.h>
int
main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
isc::log::initLogger();
-
int result = RUN_ALL_TESTS();
return (result);
diff --git a/src/hooks/dhcp/pgsql_cb/tests/run_unittests.cc b/src/hooks/dhcp/pgsql_cb/tests/run_unittests.cc
index 74904a3d92..1b4d40ccbb 100644
--- a/src/hooks/dhcp/pgsql_cb/tests/run_unittests.cc
+++ b/src/hooks/dhcp/pgsql_cb/tests/run_unittests.cc
@@ -7,7 +7,6 @@
#include <config.h>
#include <log/logger_support.h>
-
#include <gtest/gtest.h>
int
diff --git a/src/hooks/dhcp/stat_cmds/libloadtests/run_unittests.cc b/src/hooks/dhcp/stat_cmds/libloadtests/run_unittests.cc
index d9e195d96f..96a0ba7bb7 100644
--- a/src/hooks/dhcp/stat_cmds/libloadtests/run_unittests.cc
+++ b/src/hooks/dhcp/stat_cmds/libloadtests/run_unittests.cc
@@ -1,19 +1,18 @@
// Copyright (C) 2022 Internet Systems Consortium, Inc. ("ISC")
//
-// This Source Code Form is subject to the terms of the End User License
-// Agreement. See COPYING file in the premium/ directory.
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <log/logger_support.h>
-
#include <gtest/gtest.h>
int
main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
isc::log::initLogger();
-
int result = RUN_ALL_TESTS();
return (result);
diff --git a/src/hooks/dhcp/user_chk/tests/run_unittests.cc b/src/hooks/dhcp/user_chk/tests/run_unittests.cc
index 83d8a9fa8e..1dc48fd090 100644
--- a/src/hooks/dhcp/user_chk/tests/run_unittests.cc
+++ b/src/hooks/dhcp/user_chk/tests/run_unittests.cc
@@ -7,14 +7,12 @@
#include <config.h>
#include <log/logger_support.h>
-
#include <gtest/gtest.h>
int
main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
isc::log::initLogger();
-
int result = RUN_ALL_TESTS();
return (result);