Searched refs:join (Results 1 - 25 of 188) sorted by relevance

12345678

/pkg/src/tests/api/
H A Dtestutils.py30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
H A Dt_altroot.py55 path = os.path.join(self.test_path,
67 self.p_d_f1 = os.path.join(self.p_d, "f1")
68 self.p_d_f2 = os.path.join(self.p_d, "f2")
69 self.p_d_none = os.path.join(self.p_d, "none")
73 self.p_d_f1_redir = os.path.join(self.p_d_redir, "f1")
74 self.p_d_f2_redir = os.path.join(self.p_d_redir, "f2")
75 self.p_d_none_redir = os.path.join(self.p_d_redir, "none")
88 os.path.join(r, image.img_user_prefix))
92 os.path.join(r, image.img_root_prefix))
96 os.path.join(
[all...]
H A Dt_p5p.py104 os.path.join(self.raw_trust_anchor_dir, name),
105 os.path.join(dest_dir, name))
123 key=os.path.join(self.keys_dir, "cs1_ch5_ta1_key.pem"),
124 cert=os.path.join(self.cs_dir, "cs1_ch5_ta1_cert.pem"),
125 i1=os.path.join(self.chain_certs_dir,
127 i2=os.path.join(self.chain_certs_dir,
129 i3=os.path.join(self.chain_certs_dir,
131 i4=os.path.join(self.chain_certs_dir,
133 i5=os.path.join(self.chain_certs_dir,
135 i6=os.path.join(sel
[all...]
H A Dt_indexer.py48 ind._sort_fh = open(os.path.join(ind._tmp_dir,
91 fs = os.stat(os.path.join(ind._tmp_dir, file))
102 self.assertTrue(os.stat(os.path.join(ind._tmp_dir , "sort.0")).st_size == 0)
108 self.assertTrue(len(open(os.path.join(ind._tmp_dir,
H A Dt_pkgtarfile.py48 filepath = os.path.join(cpath, "foo/bar")
50 create_path = os.path.join(filepath, filename)
57 self.tarfile = os.path.join(self.tpath, "test.tar")
74 extractpath = os.path.join(self.tpath, "foo/bar")
H A Dt_imageconfig.py71 self.ic = imageconfig.ImageConfig(os.path.join(self.test_root,
102 self.ic = imageconfig.ImageConfig(os.path.join(self.test_root,
107 ic2 = imageconfig.ImageConfig(os.path.join(self.test_root,
/pkg/src/tests/cli/
H A Dtestutils.py30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
H A Dt_pkgdiff.py148 self.bogus_p5m = os.path.join(self.test_root, "nosuch.p5m")
181 self.pkgdiff(" ".join((self.tree10_p5m, self.tree10_p5m)))
184 self.pkgdiff(" ".join((self.tree10_p5m, self.tree20_p5m)),
188 self.pkgdiff(" ".join((self.tree10_p5m, self.bogus_p5m)), exit=3)
191 self.pkgdiff(" ".join((self.tree10_p5m, self.noaccess_p5m)),
213 self.pkgdiff(" ".join(("-t bogus,nosuchtype", self.tree10_p5m,
215 self.pkgdiff(" ".join(("-t bogus", "-t nosuchtype",
217 self.pkgdiff(" ".join(("-t bogus", "-t file", self.tree10_p5m,
221 self.pkgdiff(" ".join(("-t file", self.tree10_p5m,
225 self.pkgdiff(" ".join(("
[all...]
H A Dt_https.py92 cert=os.path.join(self.cs_dir, self.get_cli_cert("test")),
93 key=os.path.join(self.keys_dir, self.get_cli_key("test")),
101 cert=os.path.join(self.cs_dir, self.get_cli_cert("test")),
102 key=os.path.join(self.keys_dir, self.get_cli_key("test")),
121 assert os.path.join("new.image", "var", "pkg", "ssl") in \
135 cert=os.path.join(self.cs_dir, self.get_cli_cert("test")),
136 key=os.path.join(self.keys_dir, self.get_cli_key("test")),
150 cert=os.path.join(self.cs_dir, self.get_cli_cert("test")),
151 key=os.path.join(self.keys_dir, self.get_cli_key("test")),
160 cert=os.path.join(sel
[all...]
H A Dt_pkgsign.py292 chain_cert_path = os.path.join(self.chain_certs_dir,
294 ta_cert_path = os.path.join(self.raw_trust_anchor_dir,
299 key=os.path.join(self.keys_dir,
301 cert=os.path.join(self.cs_dir,
306 sd = os.path.join(td, "tmp_sign")
336 emptyCA = os.path.join(self.img_path(), "emptyCA")
483 key=os.path.join(self.keys_dir,
485 cert=os.path.join(self.cs_dir,
510 "key": os.path.join(self.keys_dir, "cs1_ch5_ta1_key.pem"),
511 "cert": os.path.join(sel
[all...]
H A Dt_pkgmerge.py372 self.pkgmerge(" ".join([
377 self.pkgmerge(" ".join([
382 self.pkgmerge(" ".join([
388 self.pkgmerge(" ".join([
395 self.pkgmerge(" ".join([
403 self.pkgmerge(" ".join([
412 self.pkgmerge(" ".join([
418 self.pkgmerge(" ".join([
424 self.pkgmerge(" ".join([
430 repodir = os.path.join(sel
[all...]
H A Dt_pkgfmt.py1295 with open(os.path.join(self.test_root, "source_file"),
1299 with open(os.path.join(self.test_root, "needs_fmt_file"),
1306 man = os.path.join(self.test_root, "man.p5m")
1307 original = os.path.join(self.test_root, "needs_fmt_file")
1311 man2 = os.path.join(self.test_root, "man2.p5m")
1376 source_file = os.path.join(self.test_root, "source_file")
1377 mod_file = os.path.join(self.test_root, "mod_file")
1399 source_file = os.path.join(self.test_root, "source_file")
1412 source_file = os.path.join(self.test_root, "source_file")
H A Dt_pkgsend.py170 junk_repo = os.path.join(self.test_root, "junk-repo")
178 self.pkgsend(os.path.join(dfurl, "nochance"),
216 imaginary_file = os.path.join(self.test_root, "imaginary_file")
307 url = "{0}/{1}/0/{2}".format(dhurl, "add", "/".join((trx_id,
354 rpath = os.path.join(self.test_root, "example_repo")
374 assert os.path.exists(os.path.join(rpath,
403 lpath = os.path.join(self.test_root, "test_8_foo")
425 dir_1 = os.path.join(rootdir, "dir_1")
426 dir_2 = os.path.join(rootdir, "dir_2")
429 open(os.path.join(dir_
[all...]
H A Dt_util_update_file_layout.py48 self.base_dir = os.path.join(self.test_root, "fm")
53 return os.path.join(s[0:2], s[2:8], s)
56 p = os.path.join(self.base_dir, self.old_hash(s))
92 if not os.path.exists(os.path.join(self.base_dir,
98 if not os.path.exists(os.path.join(self.base_dir,
H A Dt_pkgmogrify.py160 with open(os.path.join(self.test_root, "source_file"), "w") as f:
163 with open(os.path.join(self.test_root, "source_file2"), "w") as f:
166 with open(os.path.join(self.test_root, "source_file3"), "w") as f:
171 (name, os.path.join(self.test_root, "transform_{0}".format(i)))
191 defines = " ".join([
196 sources = " ".join(sources)
253 source_file = os.path.join(self.test_root, "source_file")
279 source_file = os.path.join(self.test_root, "source_file")
280 output_file = os.path.join(self.test_root, "output_file")
290 source_file = os.path.join(sel
[all...]
H A Dt_pkg_composite.py118 os.path.join(self.raw_trust_anchor_dir, name),
119 os.path.join(dest_dir, name))
126 pkgs = "".join([self.foo_pkg, self.incorp_pkg, self.signed_pkg,
136 key=os.path.join(self.keys_dir, "cs1_ch5_ta1_key.pem"),
137 cert=os.path.join(self.cs_dir, "cs1_ch5_ta1_cert.pem"),
138 i1=os.path.join(self.chain_certs_dir,
140 i2=os.path.join(self.chain_certs_dir,
142 i3=os.path.join(self.chain_certs_dir,
144 i4=os.path.join(self.chain_certs_dir,
146 i5=os.path.join(sel
[all...]
/pkg/src/tests/testsuite/
H A Dtestutils.py30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
/pkg/src/modules/actions/
H A Dlegacy.py56 return [os.path.normpath(os.path.join("var/sadm/pkg",
64 pkgdir = os.path.join(pkgplan.image.get_root(), "var/sadm/pkg",
70 pkginfo = os.path.join(pkgdir, "pkginfo")
115 open(os.path.join(pkgplan.image.get_root(),
129 lfile = os.path.join(pkgdir, "pkginfo.{0:d}".format(i))
146 pkgdir = os.path.join(img.get_root(), "var/sadm/pkg",
157 if not os.path.isfile(os.path.join(pkgdir, "pkginfo")):
167 pkgdir = os.path.join(pkgplan.image.get_root(), "var/sadm/pkg",
170 pkginfo = os.path.join(pkgdir, "pkginfo")
H A D__init__.py77 if '.'.join(c[1].__module__.split('.')[:-1]) == __name__
220 act_errors = "\n ".join(err for name, err in self.errors)
263 " ".join(args))).strip(), atype)
279 p1 = " ".join(args[:kvi])
280 p2 = " ".join(args[kvi:])
302 p1 = " ".join(args[:kvi])
303 p2 = " ".join(args[kvi:])
311 astr = atype + " " + " ".join(args)
389 npath = os.path.join(bd, path)
408 basedirs="\n".join(basedir
[all...]
/pkg/src/
H A Dsetup.py96 dist_dir = os.path.normpath(os.path.join(pwd, os.pardir, "proto", "dist_" + arch))
97 build_dir = os.path.normpath(os.path.join(pwd, os.pardir, "proto", "build_" + arch))
101 root_dir = os.path.normpath(os.path.join(pwd, os.pardir, "proto", "root_" + arch))
102 pkgs_dir = os.path.normpath(os.path.join(pwd, os.pardir, "packages", arch))
103 extern_dir = os.path.normpath(os.path.join(pwd, "extern"))
104 cffi_dir = os.path.normpath(os.path.join(pwd, "cffi_src"))
107 py_version = '.'.join(platform.python_version_tuple()[:2])
378 web_files.append((os.path.join(resource_dir, web_dir), [
379 os.path.join(web_dir, f) for f in files
387 web_files.append((os.path.join(resource_di
[all...]
/pkg/src/modules/file_layout/
H A Dlayout.py87 return os.path.join(hashval[0:2], hashval[2:8], hashval)
100 return os.path.join(hashval[0:2], hashval)
/pkg/src/modules/
H A Dpkgtarfile.py71 os.path.join(path, tarinfo.linkname)
77 upperdirs = os.path.dirname(os.path.join(path, filename))
94 self._extract_member(tarinfo, os.path.join(
/pkg/src/modules/client/
H A Dfirmware.py56 args = [os.path.join(firmware_dir, which)]
94 " ".join(args), str(e)))
140 format("".join(buf).rstrip(),
190 " ".join(buf), misc.signame(-ret))))
196 " ".join(buf),
197 "\n".join(buf))))
/pkg/src/modules/portable/
H A Dos_sunos.py59 t_fh.write(os.path.join(a.attrs[PD_LOCAL_PATH]) + "\n")
74 res_file_name = ":".join(tmp[0:colon_cnt])
79 joined_ft = " ".join(file_type)
H A Dutil.py84 return '.'.join((re.sub('[^0-9]', ' ', release)).split())

Completed in 39 milliseconds

12345678