Searched refs:temp_file (Results 1 – 9 of 9) 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/linux/tools/perf/util/ |
H A D | trace-event-info.c | 614 snprintf(tdata->temp_file, sizeof(tdata->temp_file), in tracing_data_get() 616 if (!mkstemp(tdata->temp_file)) { in tracing_data_get() 622 temp_fd = open(tdata->temp_file, O_RDWR); in tracing_data_get() 624 pr_debug("Can't read '%s'", tdata->temp_file); in tracing_data_get() 679 err = record_file(tdata->temp_file, 0); in tracing_data_put() 680 unlink(tdata->temp_file); in tracing_data_put()
|
H A D | trace-event.h | 75 char temp_file[50]; member
|
/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 | 1483 g_autofree char *temp_file = g_strdup_printf("%s/vmst.test.XXXXXX", in main() local 1485 temp_fd = mkstemp(temp_file); in main() 1524 unlink(temp_file); in main()
|