Searched refs:tmpDir (Results 1 – 10 of 10) sorted by relevance
/openbmc/phosphor-power/tools/power-utils/test/ |
H A D | test_updater.cpp | 44 fs::remove_all(tmpDir); in ~TestUpdater() 50 tmpDir = (tmpPath / "test_XXXXXX"); in setupDeviceSysfs() 51 if (!mkdtemp(tmpDir.data())) in setupDeviceSysfs() 56 realDevicePath = fs::path(tmpDir) / "devices/3-0068"; in setupDeviceSysfs() 57 devPath = fs::path(tmpDir) / "i2c"; in setupDeviceSysfs() 74 std::string tmpDir; member in TestUpdater
|
/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-bmc-code-mgmt/bmc/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 | serial.py | 180 tmpDir = os.path.join(root, d).replace(localSrc, "") 181 newDir = os.path.join(remoteDst, tmpDir.lstrip("/")) 242 tmpDir = os.path.join(root).replace(localPath, "") 243 remoteDir = os.path.join(remotePath, tmpDir.lstrip("/")) 248 tmpDir = os.path.join(root, d).replace(localPath, "") 249 remoteDir = os.path.join(remotePath, tmpDir.lstrip("/"))
|
H A D | ssh.py | 138 tmpDir = os.path.join(root, d).replace(localSrc, "") 139 newDir = os.path.join(remoteDst, tmpDir.lstrip("/")) 202 tmpDir = os.path.join(root).replace(localPath, "") 203 remoteDir = os.path.join(remotePath, tmpDir.lstrip("/")) 208 tmpDir = os.path.join(root, d).replace(localPath, "") 209 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/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/phosphor-bmc-code-mgmt/bmc/ |
H A D | update_manager.cpp | 63 auto tmpDir = tmpDirPath.string(); in processImage() local 65 if (!mkdtemp(tmpDir.data())) in processImage() 74 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/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)
|