Lines Matching refs:tmpfile
69 with tempfile.NamedTemporaryFile(dir=self.test_dir) as tmpfile:
70 name = os.path.basename(tmpfile.name)
163 tmpfile = clone0.attach_run('mktemp').stdout
165 clone0.attach_run('test -f %s' % tmpfile)
174 clone1.attach_run('test -f %s' % tmpfile)
207 _unused, tmpfile = tempfile.mkstemp()
209 container.install_control_file(tmpfile)
214 os.path.basename(tmpfile)))
219 with tempfile.NamedTemporaryFile() as tmpfile:
220 tmpfile.write(control_string)
221 tmpfile.flush()
225 os.path.basename(tmpfile.name))
226 container.copy(tmpfile.name, dst)
236 fd, tmpfile = tempfile.mkstemp(dir=tmpdir)
247 test_file = os.path.join(dst, os.path.basename(tmpfile))