-// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2025 Internet Systems Consortium, Inc. ("ISC")
//
// 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
// This test verifies that the getConfigReport() function
// returns the actual config report.
TEST(ConfigReportTest, getConfigReport) {
-
// Fetch the report string
std::string cfgReport = isc::detail::getConfigReport();
ASSERT_FALSE(cfgReport.empty());
EXPECT_NE(std::string::npos, cfgReport.find(VERSION));
EXPECT_NE(std::string::npos, cfgReport.find(EXTENDED_VERSION));
- EXPECT_NE(std::string::npos, cfgReport.find(std::string("Hooks directory: ") +
+ EXPECT_NE(std::string::npos, cfgReport.find(std::string("Hooks directory: ") +
HooksLibrariesParser::default_hooks_path_));
}