From 7e71b673a3909c49c1226188a5cbe785c609b7b6 Mon Sep 17 00:00:00 2001 From: Frank Ueberschar Date: Mon, 13 Aug 2018 17:59:27 +0200 Subject: [PATCH] lib-unittests: added file bsock_vert_verify_common_names_test --- core/src/lib/unittests/CMakeLists.txt | 2 +- .../bsock_cert_verify_common_names_test.cc | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 core/src/lib/unittests/bsock_cert_verify_common_names_test.cc diff --git a/core/src/lib/unittests/CMakeLists.txt b/core/src/lib/unittests/CMakeLists.txt index 0af43669d86..2ab7125ab8d 100644 --- a/core/src/lib/unittests/CMakeLists.txt +++ b/core/src/lib/unittests/CMakeLists.txt @@ -56,7 +56,7 @@ set_property(TEST test_lib add_dependencies(check test_lib) add_executable(test_bsock - bsock_test.cc bsock_constructor_test.cc + bsock_test.cc bsock_constructor_test.cc bsock_cert_verify_common_names_test.cc ) target_link_libraries(test_bsock bareos diff --git a/core/src/lib/unittests/bsock_cert_verify_common_names_test.cc b/core/src/lib/unittests/bsock_cert_verify_common_names_test.cc new file mode 100644 index 00000000000..79bc07b36ac --- /dev/null +++ b/core/src/lib/unittests/bsock_cert_verify_common_names_test.cc @@ -0,0 +1,28 @@ +/* + BAREOSĀ® - Backup Archiving REcovery Open Sourced + + Copyright (C) 2018-2018 Bareos GmbH & Co. KG + + This program is Free Software; you can redistribute it and/or + modify it under the terms of version three of the GNU Affero General Public + License as published by the Free Software Foundation and included + in the file LICENSE. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. +*/ + +#include "gtest/gtest.h" +#include "include/bareos.h" + +TEST(bsock, tls_cert_verify_common_names_test) +{ + +}