Lines Matching refs:tmpfile
69 with tempfile.NamedTemporaryFile(dir=self.test_dir) as tmpfile:
70 name = os.path.basename(tmpfile.name)
170 tmpfile = clone0.attach_run('mktemp').stdout
171 # Verify that our tmpfile exists
172 clone0.attach_run('test -f %s' % tmpfile)
181 clone1.attach_run('test -f %s' % tmpfile)
213 _unused, tmpfile = tempfile.mkstemp()
215 container.install_control_file(tmpfile)
220 os.path.basename(tmpfile)))
226 with tempfile.NamedTemporaryFile() as tmpfile:
227 tmpfile.write(control_string)
228 tmpfile.flush()
232 os.path.basename(tmpfile.name))
233 container.copy(tmpfile.name, dst)
244 fd, tmpfile = tempfile.mkstemp(dir=tmpdir)
255 test_file = os.path.join(dst, os.path.basename(tmpfile))