Home
last modified time | relevance | path

Searched refs:configFilePath (Results 1 – 13 of 13) sorted by relevance

/openbmc/phosphor-user-manager/test/
H A Dldap_config_test.cpp121 if (fs::exists(configFilePath)) in TEST_F()
123 fs::remove(configFilePath); in TEST_F()
181 if (fs::exists(configFilePath)) in TEST_F()
183 fs::remove(configFilePath); in TEST_F()
208 if (fs::exists(configFilePath)) in TEST_F()
210 fs::remove(configFilePath); in TEST_F()
241 if (fs::exists(configFilePath)) in TEST_F()
243 fs::remove(configFilePath); in TEST_F()
289 if (fs::exists(configFilePath)) in TEST_F()
291 fs::remove(configFilePath); in TEST_F()
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Dconfig_file_parser_tests.cpp74 EXPECT_EQ(pathFound, configFilePath); in TEST()
87 EXPECT_EQ(pathFound, configFilePath); in TEST()
96 configFilePath /= "MegaServer.json"; in TEST()
100 EXPECT_EQ(pathFound, configFilePath); in TEST()
109 configFilePath /= "Server.json"; in TEST()
113 EXPECT_EQ(pathFound, configFilePath); in TEST()
122 configFilePath /= "Server.json"; in TEST()
128 EXPECT_EQ(pathFound, configFilePath); in TEST()
137 configFilePath /= "Server.json"; in TEST()
194 fs::create_directory(configFilePath); in TEST()
[all …]
/openbmc/phosphor-logging/test/
H A Dremote_logging_test_config.cpp32 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F()
38 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F()
45 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F()
52 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F()
54 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F()
61 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F()
63 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F()
70 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@[abcd:ef01::01]:50000"); in TEST_F()
167 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @[abcd:ef01::01]:50000"); in TEST_F()
H A Dremote_logging_tests.hpp41 configFilePath = std::string(dir.c_str()) + "/server.conf"; in TestRemoteLogging()
43 configFilePath.c_str()); in TestRemoteLogging()
57 std::string configFilePath; member in phosphor::logging::test::TestRemoteLogging
/openbmc/phosphor-logging/phosphor-rsyslog-config/
H A Dserver-conf.hpp45 configFilePath(filePath), in Server()
55 restore(configFilePath.c_str()); in Server()
114 std::string configFilePath{}; member in phosphor::rsyslog_config::Server
H A Dserver-conf.cpp143 writeConfig(value, port(), transportProtocol(), configFilePath.c_str()); in address()
176 configFilePath.c_str()); in port()
205 writeConfig(address(), port(), value, configFilePath.c_str()); in transportProtocol()
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dldap_config_mgr.cpp143 bus, objPath.c_str(), configFilePath.c_str(), tlsCacertFile.c_str(), in createConfig()
155 bus, objPath.c_str(), configFilePath.c_str(), tlsCacertFile.c_str(), in createConfig()
171 bus, openLDAPDbusObjectPath.c_str(), configFilePath.c_str(), in createDefaultObjects()
179 bus, adDbusObjectPath.c_str(), configFilePath.c_str(), in createDefaultObjects()
H A Dldap_config_mgr.hpp55 dbusPersistentPath(dbusPersistentPath), configFilePath(filePath), in ConfigMgr()
112 std::string configFilePath{}; member in phosphor::ldap::ConfigMgr
H A Dldap_config.cpp62 tlsCertFile(certFile), configFilePath(filePath), objectPath(path), bus(bus), in Config()
113 tlsCacertFile(caCertFile), tlsCertFile(certFile), configFilePath(filePath), in Config()
302 std::fstream stream(configFilePath.c_str(), std::fstream::out); in writeConfig()
309 fs::permissions(configFilePath, permission); in writeConfig()
313 fs::permissions(configFilePath, in writeConfig()
H A Dldap_config.hpp249 std::string configFilePath{}; member in phosphor::ldap::Config
/openbmc/phosphor-led-manager/manager/
H A Djson-config.hpp75 auto configFilePath = fs::path{confBasePath} / configFileName; in filePathExists()
76 if (fs::exists(configFilePath)) in filePathExists()
78 confFile = configFilePath; in filePathExists()
/openbmc/ipmbbridge/
H A Dipmbbridged.cpp799 constexpr const char* configFilePath = in initializeChannels() local
801 std::ifstream configFile(configFilePath); in initializeChannels()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp2338 const std::string configFilePath = in loadConfigValues() local
2341 std::ifstream configFile(configFilePath.c_str()); in loadConfigValues()
2345 "PATH", configFilePath); in loadConfigValues()