/pkg/src/tests/api/ |
H A D | testutils.py | 30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
|
H A D | t_altroot.py | 55 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 D | t_p5p.py | 104 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 D | t_indexer.py | 48 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 D | t_pkgtarfile.py | 48 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 D | t_imageconfig.py | 71 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 D | testutils.py | 30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
|
H A D | t_pkgdiff.py | 148 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 D | t_https.py | 92 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 D | t_pkgsign.py | 292 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 D | t_pkgmerge.py | 372 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 D | t_pkgfmt.py | 1295 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 D | t_pkgsend.py | 170 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 D | t_util_update_file_layout.py | 48 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 D | t_pkgmogrify.py | 160 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 D | t_pkg_composite.py | 118 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 D | testutils.py | 30 path_to_parent = os.path.join(os.path.dirname(__file__), "..")
|
/pkg/src/modules/actions/ |
H A D | legacy.py | 56 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__.py | 77 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 D | setup.py | 96 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 D | layout.py | 87 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 D | pkgtarfile.py | 71 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 D | firmware.py | 56 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 D | os_sunos.py | 59 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 D | util.py | 84 return '.'.join((re.sub('[^0-9]', ' ', release)).split())
|