Home
last modified time | relevance | path

Searched refs:tmpDir (Results 1 – 8 of 8) sorted by relevance

/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_version.cpp32 tmpDir = (tmpPath / "test_XXXXXX"); in TestVersion()
33 if (!mkdtemp(tmpDir.data())) in TestVersion()
40 fs::remove_all(tmpDir); in ~TestVersion()
49 std::string tmpDir; member in TestVersion
60 auto manifestFilePath = fs::path(tmpDir) / "MANIFEST"; in TEST_F()
90 auto manifestFilePath = fs::path(tmpDir) / "MANIFEST"; in TEST_F()
/openbmc/phosphor-power/tools/power-utils/test/
H A Dtest_updater.cpp54 fs::remove_all(tmpDir); in ~TestUpdater()
60 tmpDir = (tmpPath / "test_XXXXXX"); in setupDeviceSysfs()
61 if (!mkdtemp(tmpDir.data())) in setupDeviceSysfs()
66 realDevicePath = fs::path(tmpDir) / "devices/3-0068"; in setupDeviceSysfs()
67 devPath = fs::path(tmpDir) / "i2c"; in setupDeviceSysfs()
84 std::string tmpDir; member in TestUpdater
/openbmc/phosphor-bmc-code-mgmt/test/
H A Dutest.cpp192 std::string tmpDir(testPath); in SetUp() local
193 tmpDir += "/extractXXXXXX"; in SetUp()
194 std::string imageDir = mkdtemp(const_cast<char*>(tmpDir.c_str())); in SetUp()
384 tmpDir = fs::temp_directory_path() / "testFileXXXXXX"; in SetUp()
385 if (!mkdtemp(tmpDir.data())) in SetUp()
390 std::string file1 = tmpDir + "/file1"; in SetUp()
391 std::string file2 = tmpDir + "/file2"; in SetUp()
401 fs::remove_all(tmpDir); in TearDown()
405 std::string tmpDir; member in FileTest
410 std::string retFile = tmpDir + "/retFile"; in TEST_F()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/
H A Dssh.py135 tmpDir = os.path.join(root, d).replace(localSrc, "")
136 newDir = os.path.join(remoteDst, tmpDir.lstrip("/"))
199 tmpDir = os.path.join(root).replace(localPath, "")
200 remoteDir = os.path.join(remotePath, tmpDir.lstrip("/"))
205 tmpDir = os.path.join(root, d).replace(localPath, "")
206 remoteDir = os.path.join(remotePath, tmpDir.lstrip("/"))
/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_signature.cpp32 std::string tmpDir(testPath); in SetUp() local
33 tmpDir += "/extractXXXXXX"; in SetUp()
34 std::string imageDir = mkdtemp(const_cast<char*>(tmpDir.c_str())); in SetUp()
/openbmc/openpower-pnor-code-mgmt/static/
H A Ditem_updater_static.cpp72 std::string tmpDir(tmp / "versionXXXXXX"); in getPNORVersion() local
73 if (!mkdtemp(tmpDir.data())) in getPNORVersion()
79 fs::path versionFile = tmpDir; in getPNORVersion()
107 fs::remove_all(tmpDir, ec); in getPNORVersion()
111 entry("DIR=%s", tmpDir.c_str()), in getPNORVersion()
/openbmc/phosphor-bmc-code-mgmt/
H A Dimage_manager.cpp95 auto tmpDir = tmpDirPath.string(); in processImage() local
98 if (!mkdtemp(tmpDir.data())) in processImage()
105 tmpDirPath = tmpDir; in processImage()
/openbmc/openbmc-tools/openbmctool/
H A Dopenbmctool.py2681 tmpDir = tempfile.gettempdir()
2689 imageFile.extract(tf.name, path=tmpDir)
2711 print('Ensure you have write access to the directory: ' + tmpDir)