/pkg/src/tests/cli/ |
H A D | t_pkglint.py | 522 self.cache_dir = os.path.join(self.test_root, "pkglint-cache") 589 self.cache_dir, self.lint_uri, opt), exit=2) 623 "-c {0} -l {1}".format(self.cache_dir, self.lint_repo_path), 624 "-c {0} -l {1}".format(self.cache_dir, lint_repo_no_scheme), 625 "-c {0} -l {1}".format(self.cache_dir, lint_repo_relative) 630 shutil.rmtree(self.cache_dir) 647 self.cache_dir, self.ref_uri, durl3, durl5, mpath1)) 648 self.pkg("-R {0}/ref_image publisher".format(self.cache_dir)) 653 self.cache_dir, self.ref_uri, durl3, durl5)) 654 self.pkg("-R {0}/lint_image publisher".format(self.cache_dir)) [all...] |
H A D | t_sysrepo.py | 108 """We return an error given an invalid cache_dir""" 289 """Our cache_dir value is used""" 293 cache_dir = os.path.join(self.test_root, "t_sysrepo_cache") 296 cache_dir, port)) 305 cache_dir)) 317 cache_dir = "None" 318 self.sysrepo("-c {0} -p {1}".format(cache_dir, port)) 321 cache_dir = "memory" 322 self.sysrepo("-c {0} -p {1}".format(cache_dir, port)) 494 """Our cache_dir permission [all...] |
H A D | t_change_facet.py | 175 cache_dir = os.path.join(self.get_img_api_obj().img.imgdir, 177 shutil.rmtree(cache_dir) 187 cache_dir = os.path.join(self.get_img_api_obj().img.imgdir, 189 shutil.rmtree(cache_dir)
|
H A D | t_depot_config.py | 420 """We return an error given an invalid cache_dir""" 1091 cache_dir = os.path.join(self.test_root, "cache_test_dir") 1095 cache_dir, self.rdir1, self.rdir2, self.depot_port, 1159 cache_dir = os.path.join(self.test_root, "cache_test_dir") 1164 cache_dir, self.rdir1, self.rdir2, self.depot_port, 1217 cache_dir = os.path.join(self.test_root, "cache_test_dir") 1222 cache_dir, self.rdir1, self.rdir2, self.depot_port,
|
H A D | t_pkgsign.py | 3008 cache_dir = os.path.join(self.test_root, "cache") 3009 os.mkdir(cache_dir) 3026 subdir = os.path.join(cache_dir, file_name[:2]) 3034 cache_dir, self.rurl1)) 3062 cache_dir = os.path.join(self.test_root, "cache") 3063 os.mkdir(cache_dir) 3080 subdir = os.path.join(cache_dir, file_name[:2]) 3089 cache_dir, self.rurl1)) 3129 cache_dir = os.path.join(self.test_root, "cache") 3131 cache_dir, sel [all...] |
H A D | t_pkg_install.py | 1396 def corrupt_cache(cache_dir): 1399 for dirpath, dirname, filenames in os.walk(cache_dir):
|
/pkg/src/tests/api/ |
H A D | t_manifest.py | 430 self.cache_dir = tempfile.mkdtemp(dir=self.test_root) 445 m1 = manifest.FactoredManifest("bar@1", self.cache_dir, 456 m1 = manifest.FactoredManifest("foo-content@1.0", self.cache_dir, 473 m1 = manifest.FactoredManifest("foo-content@1.0", self.cache_dir, 500 cfile_path = os.path.join(self.cache_dir, "manifest.dircache") 502 m1 = manifest.FactoredManifest("foo-content@1.0", self.cache_dir, 511 m1 = manifest.FactoredManifest("foo-content@1.0", self.cache_dir, 533 m1 = manifest.FactoredManifest("foo-content@1.0", self.cache_dir, 543 cache_dir = tempfile.mkdtemp(dir=self.test_root) 544 m1 = manifest.FactoredManifest("foo-content@1.0", cache_dir, [all...] |
H A D | t_pkglint.py | 2846 self.cache_dir = tempfile.mkdtemp("pkglint-cache", "", 2871 if not os.path.exists(self.cache_dir): 2872 os.makedirs(self.cache_dir) 2878 lint_engine.setup(cache=self.cache_dir, 2895 self.assertTrue(os.path.exists(self.cache_dir), 2898 os.path.join(self.cache_dir, "lint_image")), 2903 os.path.join(self.cache_dir, "ref_image")), 2906 self.assertFalse(os.path.exists(self.cache_dir), 2913 if not os.path.exists(self.cache_dir): 2914 os.makedirs(self.cache_dir) [all...] |
/pkg/src/svc/ |
H A D | svc-pkg-sysrepo-cache | 82 getprop config/cache_dir
|
H A D | svc-pkg-sysrepo | 111 getprop config/cache_dir
|
H A D | svc-pkg-depot | 226 check_prop ${depot_cache_dir} config/cache_dir
|
H A D | svc-pkg-mirror | 268 typeset cachedir=$($SVCPROP -p config/cache_dir $SMF_FMRI \
|
/pkg/src/ |
H A D | sysrepo.py | 93 # cache_dir var/cache/pkg/sysrepo apache proxy cache 165 pkg.sysrepo -p <port> [-R image_root] [ -c cache_dir] [-h hostname] 380 cache_dir = os.path.dirname(cache_path) 382 if not os.path.exists(cache_dir): 383 os.makedirs(cache_dir, 0o700) 548 def _write_httpd_conf(runtime_dir, log_dir, template_dir, host, port, cache_dir, 562 if cache_dir not in ["None", "memory"]: 563 dirs.append(cache_dir) 574 if dir == cache_dir: 641 cache_dir [all...] |
H A D | depot-config.py | 141 [-c cache_dir] [-s cache_size] [-p port] [-h hostname] 189 cache_dir, cache_size, host, port, sroot, 203 cache_dir where Apache should write its cache and wsgi search idx 247 if cache_dir: 248 dirs.append(cache_dir) 305 cache_dir=cache_dir, 527 template_dir, cache_dir, cache_size, sroot, fragment=False, 583 template_dir, cache_dir, cache_size, host, port, sroot, 592 _chown_dir(cache_dir) [all...] |
H A D | pull.py | 64 cache_dir = None variable 100 pkgrecv [-aknrv] [-s src_uri] [-d (path|dest_uri)] [-c cache_dir] 115 -c cache_dir The path to a directory that will be used to cache 200 # If the cache_dir is in the list of directories that should 203 if d == cache_dir and caller_error and download_start: 207 cache_dir)) 398 global archive, cache_dir, download_start, xport, xport_cfg, \ 440 cache_dir = arg 507 if not cache_dir: 508 cache_dir [all...] |
H A D | sign.py | 231 cache_dir = tempfile.mkdtemp(dir=temp_root) 244 xport_cfg.add_cache(cache_dir, readonly=False)
|
H A D | pkgrepo.py | 313 cache_dir = tempfile.mkdtemp(dir=temp_root) 314 tmpdirs.append(cache_dir) 318 xport_cfg.add_cache(cache_dir, readonly=False)
|