Searched refs:temp_file (Results 1 – 7 of 7) sorted by relevance
| /openbmc/openbmc/poky/meta-selftest/lib/oeqa/runtime/cases/ |
| H A D | dnf_runtime.py | 35 temp_file = os.path.join(self.temp_dir.name, 'tmp.repo') 36 self.tc.target.copyFrom("/etc/yum.repos.d/oe-remote-repo.repo", temp_file) 37 …fixed_config = open(temp_file, "r").read().replace("bogus_ip", self.tc.target.server_ip).replace("… 38 with open(temp_file, "w") as f: 40 self.tc.target.copyTo(temp_file, "/etc/yum.repos.d/oe-remote-repo.repo")
|
| /openbmc/qemu/scripts/ |
| H A D | xml-preprocess-test.py | 24 with tempfile.NamedTemporaryFile(mode="w", delete=False) as temp_file: 25 temp_file.write("<root></root>") 26 temp_file_name = temp_file.name 32 with tempfile.NamedTemporaryFile(mode="w", delete=False) as temp_file: 33 temp_file_name = temp_file.name
|
| /openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/ |
| H A D | 0001-unix-configure-fix-detection-for-cross-compilation.patch | 92 echo "int main() { lchmod(\"${temp_file}\", 0666); }" \ 94 ln -s "${temp_link}" "${temp_file}" && \ 99 rm -f "${temp_file}"
|
| H A D | 0001-configure-Add-correct-system-headers-and-prototypes-.patch | 66 temp_file="/tmp/unzip_test_$$" 67 @@ -401,14 +424,17 @@ ln -s "${temp_link}" "${temp_file}" && \ 68 rm -f "${temp_file}"
|
| H A D | 0001-configure-Pass-LDFLAGS-to-tests-doing-link-step.patch | 56 echo "int main() { lchmod(\"${temp_file}\", 0666); }" \ 58 ln -s "${temp_link}" "${temp_file}" && \ 63 rm -f "${temp_file}"
|
| /openbmc/qemu/tests/qemu-iotests/tests/ |
| H A D | vvfat | 141 temp_file = os.path.join(iotests.test_dir, "temp.bin") 142 with open(temp_file, "wb") as f: 149 os.remove(temp_file)
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-vmstate.c | 1542 g_autofree char *temp_file = g_strdup_printf("%s/vmst.test.XXXXXX", 1544 temp_fd = mkstemp(temp_file); 1583 unlink(temp_file); 1483 g_autofree char *temp_file = g_strdup_printf("%s/vmst.test.XXXXXX", main() local
|