Home
last modified time | relevance | path

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

/openbmc/openbmc/poky/meta-selftest/lib/oeqa/runtime/cases/
H A Ddnf_runtime.py35 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 Dxml-preprocess-test.py24 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 Dtrace-event-info.c614 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 Dtrace-event.h75 char temp_file[50]; member
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A D0001-unix-configure-fix-detection-for-cross-compilation.patch92 echo "int main() { lchmod(\"${temp_file}\", 0666); }" \
94 ln -s "${temp_link}" "${temp_file}" && \
99 rm -f "${temp_file}"
H A D0001-configure-Add-correct-system-headers-and-prototypes-.patch66 temp_file="/tmp/unzip_test_$$"
67 @@ -401,14 +424,17 @@ ln -s "${temp_link}" "${temp_file}" && \
68 rm -f "${temp_file}"
H A D0001-configure-Pass-LDFLAGS-to-tests-doing-link-step.patch56 echo "int main() { lchmod(\"${temp_file}\", 0666); }" \
58 ln -s "${temp_link}" "${temp_file}" && \
63 rm -f "${temp_file}"
/openbmc/qemu/tests/unit/
H A Dtest-vmstate.c1484 g_autofree char *temp_file = g_strdup_printf("%s/vmst.test.XXXXXX", in main() local
1486 temp_fd = mkstemp(temp_file); in main()
1525 unlink(temp_file); in main()