Lines Matching refs:tmpfile
70 with tempfile.NamedTemporaryFile(dir=self.test_dir) as tmpfile:
71 name = os.path.basename(tmpfile.name)
171 tmpfile = clone0.attach_run('mktemp').stdout
173 clone0.attach_run('test -f %s' % tmpfile)
182 clone1.attach_run('test -f %s' % tmpfile)
214 _unused, tmpfile = tempfile.mkstemp()
216 container.install_control_file(tmpfile)
221 os.path.basename(tmpfile)))
227 with tempfile.NamedTemporaryFile() as tmpfile:
228 tmpfile.write(control_string)
229 tmpfile.flush()
233 os.path.basename(tmpfile.name))
234 container.copy(tmpfile.name, dst)
245 fd, tmpfile = tempfile.mkstemp(dir=tmpdir)
256 test_file = os.path.join(dst, os.path.basename(tmpfile))