Searched refs:tmpDir (Results 1 – 9 of 9) sorted by relevance
/openbmc/phosphor-psu-code-mgmt/test/ |
H A D | test_version.cpp | 37 tmpDir = (tmpPath / "test_XXXXXX"); in TestVersion() 38 if (!mkdtemp(tmpDir.data())) in TestVersion() 45 fs::remove_all(tmpDir); in ~TestVersion() 54 std::string tmpDir; member in TestVersion 65 auto manifestFilePath = fs::path(tmpDir) / "MANIFEST"; in TEST_F() 95 auto manifestFilePath = fs::path(tmpDir) / "MANIFEST"; in TEST_F()
|
/openbmc/phosphor-power/tools/power-utils/test/ |
H A D | test_updater.cpp | 54 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 D | utest.cpp | 192 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 D | ssh.py | 135 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 D | test_signature.cpp | 32 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/phosphor-bmc-code-mgmt/ |
H A D | update_manager.cpp | 44 auto tmpDir = tmpDirPath.string(); in processImage() local 46 if (!mkdtemp(tmpDir.data())) in processImage() 54 tmpDirPath = tmpDir; in processImage()
|
H A D | image_manager.cpp | 95 auto tmpDir = tmpDirPath.string(); in processImage() local 98 if (!mkdtemp(tmpDir.data())) in processImage() 105 tmpDirPath = tmpDir; in processImage()
|
/openbmc/openpower-pnor-code-mgmt/static/ |
H A D | item_updater_static.cpp | 72 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/openbmc-tools/openbmctool/ |
H A D | openbmctool.py | 2681 tmpDir = tempfile.gettempdir() 2689 imageFile.extract(tf.name, path=tmpDir) 2711 print('Ensure you have write access to the directory: ' + tmpDir)
|