Home
last modified time | relevance | path

Searched refs:linkPath (Results 1 – 6 of 6) sorted by relevance

/openbmc/telemetry/tests/src/
H A Dtest_persistent_json_storage.cpp123 auto linkPath = in setupSymlinks() local
127 std::filesystem::create_symlink(originalFile, linkPath); in setupSymlinks()
128 return interfaces::JsonStorage::FilePath(linkPath); in setupSymlinks()
138 auto linkPath = std::filesystem::path(directory) / "reportLink"; in setupSymlinks() local
142 linkPath); in setupSymlinks()
144 linkPath / originalFile.filename()); in setupSymlinks()
158 linkPath = T::setupSymlinks(dummyReportPath, directory); in TestPersistentJsonStorageWithSymlink()
177 interfaces::JsonStorage::FilePath linkPath; member in TestPersistentJsonStorageWithSymlink
195 ASSERT_THROW(TestPersistentJsonStorage::sut.store(TestFixture::linkPath, in TYPED_TEST()
205 ASSERT_THAT(TestPersistentJsonStorage::sut.load(TestFixture::linkPath), in TYPED_TEST()
[all …]
/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_functions.cpp264 std::filesystem::path linkPath = workdir / "link"; in TEST() local
266 std::ofstream link{linkPath}; in TEST()
267 functions::process_hostfirmware::writeLink(linkPath.filename(), targetPath, in TEST()
279 auto linkPath = workdir / "link"; in TEST() local
281 std::ofstream link{linkPath}, target{targetPath}; in TEST()
282 functions::process_hostfirmware::writeLink(linkPath.filename(), targetPath, in TEST()
300 auto linkPath = workdir / "link"; in TEST() local
302 std::ofstream link{linkPath}, file{filePath}; in TEST()
303 functions::process_hostfirmware::writeLink(linkPath.filename(), targetPath, in TEST()
320 auto linkPath = workdir / "baz"; in TEST() local
[all …]
/openbmc/openpower-pnor-code-mgmt/
H A Dfunctions.cpp142 const std::filesystem::path& linkPath, in writeLink() argument
149 if (!std::filesystem::remove(linkPath, ec)) in writeLink()
153 makeCallback(errorCallback, linkPath, ec); in writeLink()
158 std::filesystem::create_symlink(linkTarget, linkPath, ec); in writeLink()
161 makeCallback(errorCallback, linkPath, ec); in writeLink()
226 auto linkPath(file.parent_path().append( in findLinks() local
229 makeCallback(linkCallback, file.filename(), linkPath, errorCallback); in findLinks()
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dpopulate_sdk_base.bbclass298 def check_symlink(linkPath):
299 if not os.path.islink(linkPath):
302 linkDirPath = os.path.dirname(linkPath)
304 targetPath = os.readlink(linkPath)
310 bb.error("Escaping symlink {0!s} --> {1!s}".format(linkPath, targetPath))
314 bb.error("Broken symlink {0!s} --> {1!s}".format(linkPath, targetPath))
/openbmc/dbus-sensors/src/fan/
H A DFanMain.cpp91 std::filesystem::path linkPath = parentPath / "of_node"; in getFanType() local
92 if (!std::filesystem::exists(linkPath)) in getFanType()
97 std::string canonical = std::filesystem::canonical(linkPath); in getFanType()
/openbmc/intel-ipmi-oem/src/
H A Dmanufacturingcommands.cpp1475 std::string linkPath = std::filesystem::read_symlink(muxSymlinkDirPath); in muxSlotDisable() local
1478 if (!getBusNumFromPath(linkPath, portNum)) in muxSlotDisable()