Searched refs:tempfile (Results 1 - 25 of 81) sorted by relevance

1234

/pkg/src/tests/api/
H A Dt_sysattr.py33 import tempfile namespace
56 self.test_fh, self.test_fn = tempfile.mkstemp(
75 self.test_path = tempfile.mkdtemp(prefix="test-suite",
77 self.test_fh, self.test_fn = tempfile.mkstemp(
79 self.unsup_test_path = tempfile.mkdtemp(prefix="test-suite",
81 self.test_fh2, self.test_fn2 = tempfile.mkstemp(
H A Dt_pkgtarfile.py35 import tempfile namespace
45 self.tpath = tempfile.mkdtemp(dir=self.test_root)
47 cpath = tempfile.mkdtemp(dir=self.test_root)
H A Dt_plat.py34 import tempfile namespace
66 (fd1, path1) = tempfile.mkstemp()
68 (fd2, path2) = tempfile.mkstemp()
90 tdir1 = tempfile.mkdtemp()
100 fd1, path1 = tempfile.mkstemp(dir = tdir1)
133 tdir1 = tempfile.mkdtemp()
H A Dt_misc.py38 import tempfile namespace
48 tmpdir = tempfile.mkdtemp()
157 tmpdir = tempfile.mkdtemp(dir=self.test_root)
H A Dt_imageconfig.py36 import tempfile namespace
H A Dt_indexer.py36 import tempfile namespace
H A Dt_manifest.py27 import tempfile namespace
430 self.cache_dir = tempfile.mkdtemp(dir=self.test_root)
459 tmpdir = tempfile.mkdtemp(dir=self.test_root)
543 cache_dir = tempfile.mkdtemp(dir=self.test_root)
H A Dt_altroot.py34 import tempfile namespace
50 self.test_path = tempfile.mkdtemp(prefix="test-suite",
H A Dt_p5i.py42 import tempfile namespace
168 (fd1, path1) = tempfile.mkstemp(dir=self.test_root)
169 # tempfile.mkstemp open the file in binary mode
H A Dt_file_manager.py36 import tempfile namespace
102 t = tempfile.gettempdir()
222 rh2_fd, raw_hash_2_loc = tempfile.mkstemp(dir=self.base_dir)
H A Dt_history.py37 import tempfile namespace
74 self.__scratch_dir = tempfile.mkdtemp(dir=self.test_root)
399 (fd1, path1) = tempfile.mkstemp(dir=self.__scratch_dir)
/pkg/src/modules/portable/
H A Dos_sunos.py34 import tempfile namespace
56 t_fd, t_path = tempfile.mkstemp()
H A Dos_windows.py40 import tempfile namespace
185 tdir = tempfile.mkdtemp(dir = trashdir)
H A Dos_unix.py42 import tempfile namespace
272 fd, tmpdst = tempfile.mkstemp(suffix=".pkg5.xdev",
/pkg/src/tests/
H A Dpkg5testenv.py30 import tempfile namespace
137 pkg5unittest.g_tempdir = tempfile.gettempdir()
H A Drun.py53 import tempfile namespace
54 covdir = tempfile.mkdtemp(prefix=".coverage-", dir=os.getcwd())
463 testlogfd, testlogpath = tempfile.mkstemp(suffix='.pkg-test.log')
/pkg/src/
H A Dsign.py34 import tempfile namespace
107 cat_dir = tempfile.mkdtemp(dir=temp_root)
124 fd, fp = tempfile.mkstemp(dir=d)
228 temp_root = tempfile.mkdtemp(dir=t)
231 cache_dir = tempfile.mkdtemp(dir=temp_root)
232 incoming_dir = tempfile.mkdtemp(dir=temp_root)
233 chash_dir = tempfile.mkdtemp(dir=temp_root)
234 cert_dir = tempfile.mkdtemp(dir=temp_root)
/pkg/src/tests/cli/
H A Dt_util_update_file_layout.py36 import tempfile namespace
111 empty_dir = tempfile.mkdtemp(dir=self.base_dir)
H A Dt_util_merge.py37 import tempfile namespace
135 self.merge_dir = tempfile.mkdtemp(dir=self.test_root)
H A Dt_pkgrecv.py47 import tempfile namespace
213 self.tempdir = tempfile.mkdtemp(dir=self.test_root)
215 self.mogdir = tempfile.mkdtemp(dir=self.test_root)
431 npath = tempfile.mkdtemp(dir=self.test_root)
512 npath = tempfile.mkdtemp(dir=self.test_root)
552 npath = tempfile.mkdtemp(dir=self.test_root)
590 npath2 = tempfile.mkdtemp(dir=self.test_root)
782 npath = tempfile.mkdtemp(dir=self.test_root)
791 npath = tempfile.mkdtemp(dir=self.test_root)
828 npath = tempfile
[all...]
H A Dt_pkgsurf.py39 import tempfile namespace
589 tmpdir = tempfile.mkdtemp(dir=self.test_root)
639 tempdir = tempfile.mkdtemp(dir=self.test_root)
H A Dt_pkgfmt.py37 import tempfile namespace
/pkg/src/modules/client/linkedimage/
H A Dzone.py37 import tempfile namespace
399 fout = tempfile.TemporaryFile(mode="w+")
400 ferrout = tempfile.TemporaryFile(mode="w+")
469 fout = tempfile.TemporaryFile(mode="w+")
470 ferrout = tempfile.TemporaryFile(mode="w+")
/pkg/src/modules/client/
H A Dpkgremote.py37 import tempfile namespace
134 fstdout = tempfile.TemporaryFile()
135 fstderr = tempfile.TemporaryFile()
/pkg/src/util/publish/
H A Dpkgsurf.py76 import tempfile namespace
197 cat_dir = tempfile.mkdtemp(dir=temp_root)
730 temp_root = tempfile.mkdtemp(dir=t,
733 ref_incoming_dir = tempfile.mkdtemp(dir=temp_root)
734 ref_pkg_root = tempfile.mkdtemp(dir=temp_root)

Completed in 64 milliseconds

1234