Home
last modified time | relevance | path

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

/openbmc/phosphor-user-manager/test/
H A Dldap_config_test.cpp116 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
121 if (fs::exists(configFilePath)) in TEST_F()
123 fs::remove(configFilePath); in TEST_F()
125 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
126 MockConfigMgr manager(bus, LDAP_CONFIG_ROOT, configFilePath.c_str(), in TEST_F()
154 EXPECT_TRUE(fs::exists(configFilePath)); in TEST_F()
176 auto configFilePath = std::string(dir.c_str()) + "/" + ldapConfFile; in TEST_F() local
181 if (fs::exists(configFilePath)) in TEST_F()
183 fs::remove(configFilePath); in TEST_F()
185 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Dconfig_file_parser_tests.cpp69 fs::path configFilePath = configFileDirPath; in TEST() local
70 configFilePath /= "com.acme.Hardware.Chassis.Model.MegaServer4CPU.json"; in TEST()
71 writeConfigFile(configFilePath, std::string{""}); in TEST()
74 EXPECT_EQ(pathFound, configFilePath); in TEST()
82 fs::path configFilePath = configFileDirPath; in TEST() local
83 configFilePath /= "com.acme.Hardware.Chassis.Model.MegaServer.json"; in TEST()
84 writeConfigFile(configFilePath, std::string{""}); in TEST()
87 EXPECT_EQ(pathFound, configFilePath); in TEST()
95 fs::path configFilePath = configFileDirPath; in TEST() local
96 configFilePath /= "MegaServer.json"; 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/openpower-vpd-parser/vpd-manager/src/
H A Dvpd_parser_main.cpp44 std::string configFilePath{}; in main() local
46 app.add_option("-c,--config", configFilePath, "Path to JSON config"); in main()
62 if (!configFilePath.empty()) in main()
65 "Processing with config file - " + configFilePath); in main()
68 std::make_shared<vpd::Worker>(configFilePath); in main()
/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()