Searched refs:test_root (Results 1 - 25 of 58) sorted by relevance

123

/pkg/src/tests/api/
H A Dt_unix_usergrp.py43 os.makedirs(os.path.join(self.test_root, "etc"))
49 grpfile = open(os.path.join(self.test_root, "etc", "group"), "w")
63 "ThisShouldNotExist", self.test_root, True)
66 portable.get_group_by_name("root", self.test_root, True))
68 portable.get_group_by_name("gk", self.test_root, True))
71 12345, self.test_root, True)
79 "ThisShouldNotExist", self.test_root, True)
84 grpname = portable.get_name_by_gid(0, self.test_root, True)
86 portable.get_group_by_name(grpname, self.test_root, True))
93 grpfile = open(os.path.join(self.test_root, "et
[all...]
H A Dt_imageconfig.py71 self.ic = imageconfig.ImageConfig(os.path.join(self.test_root,
72 "cfg_cache"), self.test_root)
102 self.ic = imageconfig.ImageConfig(os.path.join(self.test_root,
103 "cfg_cache"), self.test_root)
107 ic2 = imageconfig.ImageConfig(os.path.join(self.test_root,
108 "cfg_cache"), self.test_root)
H A Dt_indexer.py43 ind = indexer.Indexer(self.test_root, None, None,
83 self.test_root, None, None, sort_file_max_size=0)
H A Dt_pkgtarfile.py45 self.tpath = tempfile.mkdtemp(dir=self.test_root)
47 cpath = tempfile.mkdtemp(dir=self.test_root)
H A Dt_publisher.py63 nsfile = os.path.join(self.test_root, "nosuchfile")
64 tcert = os.path.join(self.test_root, "test.cert")
65 tkey = os.path.join(self.test_root, "test.key")
182 tcert = os.path.join(self.test_root, "test.cert")
183 tkey = os.path.join(self.test_root, "test.key")
185 t2cert = os.path.join(self.test_root, "test2.cert")
186 t2key = os.path.join(self.test_root, "test2.key")
380 "meta_root": os.path.join(self.test_root, "bobcat"),
448 tcert = os.path.join(self.test_root, "test.cert")
449 tkey = os.path.join(self.test_root, "tes
[all...]
H A Dt_pkglint.py2287 config_file=os.path.join(self.test_root,
2335 empty_file = "{0}/empty_file".format(self.test_root)
2338 bad_file = "{0}/bad_file".format(self.test_root)
2352 os.path.join(self.test_root, "pkglintrc"),
2354 self.test_root, section="pkglint", suffix=".tmp")
2847 self.test_root)
2876 config_file=os.path.join(self.test_root, "pkglintrc"))
2918 config_file=os.path.join(self.test_root, "pkglintrc"))
2960 config_file=os.path.join(self.test_root,
3000 config_file=os.path.join(self.test_root, "pkglintr
[all...]
H A Dt_catalog.py58 self.paths = [self.test_root]
101 target = os.path.join(self.test_root, name)
814 dup1_path = os.path.join(self.test_root, "test-07-dup1")
1147 f = open(os.path.join(self.test_root, "catalog.attrs"), "w")
1151 catalog.Catalog, meta_root=self.test_root)
1155 f = open(os.path.join(self.test_root, "catalog.attrs"), "w")
1159 catalog.Catalog, meta_root=self.test_root)
1165 c = catalog.Catalog(meta_root=self.test_root)
1169 fname = os.path.join(self.test_root, "catalog.attrs")
1179 catalog.Catalog, meta_root=self.test_root)
[all...]
H A Dt_p5p.py204 arc_path = os.path.join(self.test_root, "empty.p5p")
230 arc_path = os.path.join(self.test_root, "add.p5p")
238 arc.add(self.test_root)
239 tmp_root = os.path.join(self.test_root, "tmp")
243 src = os.path.join(self.test_root, f)
264 pkg.misc.relpath(self.test_root, "/"),
268 pkg.misc.relpath(os.path.join(self.test_root, e), "/")
314 dfroot = os.path.join(self.test_root, "pfiles")
338 arc_path = os.path.join(self.test_root, "add_package.p5p")
399 arc_path = os.path.join(self.test_root, "add_repo_packag
[all...]
H A Dt_elf.py58 os.chdir(self.test_root)
67 os.chdir(self.test_root)
H A Dt_p5i.py168 (fd1, path1) = tempfile.mkstemp(dir=self.test_root)
185 nefpath = os.path.join(self.test_root, "non-existent")
194 lcpath = os.path.join(self.test_root, "libc.so.1")
H A Dt_smf.py359 testdata_dir = os.path.join(self.test_root, "testdata")
563 testdata_dir = os.path.join(self.test_root, "testdata")
569 DebugValues["bin_zlogin"] = os.path.join(self.test_root,
/pkg/src/tests/cli/
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_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)))
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(self.test_root, "source_file")
311 source_file = os.path.join(self.test_root, "source_file")
320 source_file = os.path.join(self.test_root, "source_fil
[all...]
H A Dt_pkg_R_option.py61 badpath = self.test_root
112 bad_live_root = os.path.join(self.test_root, "test_2_implicit")
119 os.chdir(self.test_root)
131 os.chdir(self.test_root)
H A Dt_pkglint.py294 self.pkglint("-f {0}/rcfile {1}".format(self.test_root, mpath1),
296 self.pkglint("-f {0}/rcfile1 {1}".format(self.test_root, mpath1),
300 self.test_root, testrc=False, exit=0))
307 self.test_root, testrc=False, exit=0))
359 self.test_root, mpath), exit=0)
365 self.test_root, mpath), exit=1)
400 self.test_root, mpath), testrc=False)
408 self.test_root, mpath), testrc=False)
452 self.test_root, mpath1), exit=0)
459 self.test_root, mpath
[all...]
H A Dt_pkg_property.py84 self.test_root, self.test_root), exit=1)
H A Dt_pkg_image_create.py86 self.rurl1, self.test_root), exit=2)
88 self.rurl1, self.test_root), exit=2)
90 self.rurl1, self.test_root), exit=2)
93 self.rurl1, self.test_root), exit=2)
95 "foo=baz -p test1={0} {1}".format(self.rurl1, self.test_root),
97 self.pkg("image-create -g {0} {1}".format(self.rurl1, self.test_root),
99 self.pkg("image-create -m {0} {1}".format(self.rurl1, self.test_root),
102 self.rurl1, self.test_root), exit=2)
207 os.chdir(self.test_root)
213 img_path = os.path.join(self.test_root, "test_4_im
[all...]
H A Dt_pkgsend.py170 junk_repo = os.path.join(self.test_root, "junk-repo")
216 imaginary_file = os.path.join(self.test_root, "imaginary_file")
354 rpath = os.path.join(self.test_root, "example_repo")
397 fd, fpath = tempfile.mkstemp(dir=self.test_root)
403 lpath = os.path.join(self.test_root, "test_8_foo")
424 rootdir = self.test_root
451 rootdir = self.test_root
573 non_existing_bundle = os.path.join(self.test_root,
752 mpath = os.path.join(self.test_root, "sysv.p5m")
772 self.create_sysv_package(self.test_root, sel
[all...]
H A Dt_pkgmerge.py413 "-s arch=i386,{0}".format(self.test_root),
420 "-d {0}".format(self.test_root),
426 "-d {0} -p noodles".format(self.test_root),
430 repodir = os.path.join(self.test_root, "test_0_repo")
450 repodir = os.path.join(self.test_root, "1merge_repo")
556 junk_repodir = os.path.join(self.test_root, "1junk_repo")
578 repodir = os.path.join(self.test_root, "2merge_repo")
781 repodir = os.path.join(self.test_root, "3merge_repo")
787 rdir = os.path.join(self.test_root, "3{0}_repo".format(arch))
802 "-s arch=sparc,{0}".format(os.path.join(self.test_root,
[all...]
H A Dt_sysrepo.py66 self.default_sc_runtime = os.path.join(self.test_root,
232 self.default_sc_runtime = os.path.join(self.test_root,
238 self.alt_sc_runtime = os.path.sep.join([self.test_root,
293 cache_dir = os.path.join(self.test_root, "t_sysrepo_cache")
333 logs_dir = os.path.join(self.test_root, "t_sysrepo_logs")
401 self.set_img_path(os.path.join(self.test_root,
420 symlink_path = os.path.join(self.test_root, "repo_symlink")
425 p5p_path = os.path.join(self.test_root,
451 v3_repo_root = os.path.join(self.test_root, "sysrepo_test_9")
464 repo_path = os.path.join(self.test_root, "test_10_missing_rep
[all...]
H A Dt_depot_config.py266 self.index_dir = os.path.join(self.test_root,
268 self.default_depot_runtime = os.path.join(self.test_root,
671 dest = os.path.join(self.test_root, "test_13_hgpkgrecv")
886 default_httpd_conf_path = os.path.join(self.test_root,
936 cert = os.path.join(self.test_root, "tmp",
938 key = os.path.join(self.test_root, "tmp",
975 cert = os.path.join(self.test_root, "tmp",
977 key = os.path.join(self.test_root, "tmp",
1001 non_exist_cert = os.path.join(self.test_root,
1003 non_exist_key = os.path.join(self.test_root,
[all...]
H A Dt_pkgrecv.py213 self.tempdir = tempfile.mkdtemp(dir=self.test_root)
215 self.mogdir = tempfile.mkdtemp(dir=self.test_root)
231 "add_file": "<transform file path=etc/bronze1 -> emit file {0} path=/etc/bronze2 owner=root group=bin mode=0755>".format(os.path.join(self.test_root, self.misc_files[8])),
242 (name, os.path.join(self.test_root, "transform_{0}".format(i)))
326 npath = os.path.join(self.test_root, "nochance")
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)
[all...]
H A Dt_pkg_uninstall.py151 lofs_dir = os.path.join(self.test_root, "image0", "implicit")
153 tmp_dir = os.path.join(self.test_root, "image0", "tmp_impl_dir")
H A Dt_util_update_file_layout.py48 self.base_dir = os.path.join(self.test_root, "fm")
/pkg/src/tests/testsuite/
H A Dt_setup_teardown.py124 self.test_root = "foo"
127 """ Test that test_root is readable but not writable """
128 x = self.test_root

Completed in 48 milliseconds

123