Searched refs:dc (Results 1 - 25 of 29) sorted by relevance

12

/pkg/src/tests/cli/
H A Dt_pkg_depotd.py47 import pkg.depotcontroller as dc namespace
124 self.assertTrue(self.dc.is_alive())
125 self.assertTrue(self.dc.is_alive())
126 self.assertTrue(self.dc.is_alive())
127 self.assertTrue(self.dc.is_alive())
131 self.dc.stop()
133 self.dc.start()
134 self.assertTrue(self.dc.is_alive())
135 self.dc.stop()
136 self.assertTrue(not self.dc
[all...]
H A Dt_pkg_refresh.py98 def get_op_entries(self, dc, op, op_ver, method="GET"):
120 logpath = dc.get_logpath()
347 def __get_cache_entries(self, dc):
352 logpath = dc.get_logpath()
375 dc = self.dcs[1]
388 returned = self.get_op_entries(dc, "catalog", "1")
404 repo = dc.get_repo()
415 returned = self.get_op_entries(dc, "catalog", "1")
427 returned = self.get_op_entries(dc, "catalog", "1")
438 returned = self.get_op_entries(dc, "catalo
[all...]
H A Dt_pkgsend.py118 durl = self.dc.get_depot_url()
134 dhurl = self.dc.get_depot_url()
135 dfurl = "file://{0}".format(self.dc.get_repodir())
198 dhurl = self.dc.get_depot_url()
199 dfurl = "file://{0}".format(self.dc.get_repodir())
214 dhurl = self.dc.get_depot_url()
215 dfurl = "file://{0}".format(self.dc.get_repodir())
325 dhurl = self.dc.get_depot_url()
326 dfurl = "file://{0}".format(self.dc.get_repodir())
353 self.dc
[all...]
H A Dt_https.py378 self.dc.start_expected_fail(exit=exit)
379 self.dc.disable_ssl()
383 self.dc.start()
389 self.dc.stop()
390 self.dc.disable_ssl()
394 self.dc.enable_ssl(key_path=self.server_ssl_key,
400 self.dc.enable_ssl(key_path=self.server_ssl_key,
407 self.dc.enable_ssl(key_path=self.server_ssl_reqpass_key,
415 self.dc.enable_ssl(key_path=self.server_ssl_reqpass_key,
H A Dt_pkgrepo.py37 import pkg.depotcontroller as dc namespace
267 repo_path = self.dc.get_repodir()
269 repo_uri = self.dc.get_repo_url()
274 self.dc.get_repo()
300 repo_path = self.dc.get_repodir()
301 repo_uri = self.dc.get_repo_url()
302 depot_uri = self.dc.get_depot_url()
316 self.dc.start()
344 self.dc.stop()
449 repo_path = self.dc
[all...]
H A Dt_publish_api.py55 durl = self.dc.get_depot_url()
77 location = self.dc.get_repodir()
H A Dt_pkg_search.py594 self.wait_repo(self.dc.get_repodir())
600 durl = self.dc.get_depot_url()
631 durl = self.dc.get_depot_url()
645 durl = self.dc.get_depot_url()
659 durl = self.dc.get_depot_url()
660 depotpath = self.dc.get_repodir()
671 self.dc.stop()
672 self.dc.set_rebuild()
673 self.dc.start()
713 durl = self.dc
[all...]
H A Dt_origin_cpu.py128 rurl = self.dc.get_repo_url()
H A Dt_origin_fw.py118 rurl = self.dc.get_repo_url()
H A Dt_pkg_nasty.py117 self.dc.set_nasty(self.NASTY_LEVEL)
118 self.dc.set_nasty_sleep(self.NASTY_SLEEP)
127 self.dc.start()
142 lp = self.dc.get_logpath()
178 self.dc.set_nasty(0)
185 self.dc.set_nasty(self.NASTY_LEVEL)
H A Dt_util_merge.py178 for dc in self.dcs.values():
179 repo = dc.get_repo()
H A Dt_pkg_intent.py102 dc = self.dcs[i]
103 logpath = dc.get_logpath()
H A Dt_actuators.py304 rurl = self.dc.get_repo_url()
501 rurl = self.dc.get_repo_url()
543 rurl = self.dc.get_repo_url()
H A Dt_pkg_contents.py340 self.pkgsign_simple(self.dc.get_repodir(), "nopathA")
357 self.pkgsign_simple(self.dc.get_repodir(), "nopathA")
H A Dt_sysrepo.py378 dc = self.dcs[dc_num]
379 name = dc.get_property("publisher", "prefix")
380 overlap_dcs.append(dc)
387 url=dc.get_repo_url(), pub=name))
394 for dc in overlap_dcs:
395 pub = dc.get_property("publisher", "prefix")
397 dc.get_repodir().rstrip("/"))).hexdigest()
H A Dt_fix.py536 self.__test_offline_fix(nop, self.dc.stop, self.dc.start)
570 self.pkgsign_simple(self.dc.get_repodir(), "file")
H A Dt_pkg_info.py180 self.dc.start()
294 self.dc.stop()
818 repo = self.dc.get_repo()
H A Dt_pkg_install.py335 path_comps = [self.dc.get_repodir(), "publisher",
346 fpath = os.path.sep.join([self.dc.get_repodir(), "publisher",
433 self.dc.start()
475 self.dc.stop()
487 self.dc.start()
527 self.dc.stop()
539 self.dc.start()
579 self.dc.stop()
793 self.dc.set_address("::1")
794 self.dc
[all...]
H A Dt_change_facet.py348 rurl = self.dc.get_repo_url()
H A Dt_change_variant.py638 self.pkgsign_simple(self.dc.get_repodir(), "pkg_shared")
/pkg/src/tests/api/
H A Dt_api_search.py598 depotpath = self.dc.get_repodir()
599 repo = self.dc.get_repo()
604 depotpath = self.dc.get_repodir()
605 repo = self.dc.get_repo()
610 repo = self.dc.get_repo()
1421 self.wait_repo(self.dc.get_repodir())
1425 durl = self.dc.get_depot_url()
1431 durl = self.dc.get_depot_url()
1439 durl = self.dc.get_depot_url()
1448 durl = self.dc
[all...]
H A Dt_p5p.py164 "publisher/test/file/dc",
165 "publisher/test/file/dc/dc84bd4b606fe43fc892eb245d9602b67f8cba38",
183 "publisher/test/file/dc",
184 "publisher/test/file/dc/dc84bd4b606fe43fc892eb245d9602b67f8cba38",
309 repo = self.get_repo(self.dc.get_repodir())
396 repo = self.get_repo(self.dc.get_repodir())
731 repo = self.get_repo(self.dc.get_repodir())
896 repo = self.get_repo(self.dc.get_repodir())
/pkg/src/modules/
H A Ddepotcontroller.py546 dc = DepotController()
547 dc.set_port(22222)
553 dc.set_repodir(testdir)
557 j, " ".join(dc.get_args())), end=" ")
559 dc.start()
564 while dc.is_alive() == False:
569 status = dc.stop()
584 dc.stop()
/pkg/src/modules/flavor/
H A Delf.py135 p[:tok_start] + dc + \
137 for dc in dyn_tok_conv[tok]
/pkg/src/tests/
H A Dpkg5unittest.py3196 dc = depotcontroller.DepotController(
3199 dc.set_depotd_path(os.path.join(g_pkg_path,
3201 dc.set_depotd_content_root(os.path.join(g_pkg_path,
3204 dc.set_debug_feature(f)
3205 dc.set_repodir(repodir)
3206 dc.set_logpath(logpath)
3207 dc.set_port(port)
3211 dc.set_property(section, prop, val)
3213 dc.set_refresh_index()
3220 dc
4197 dc = property(fget=__get_dc) variable in class:SingleDepotTestCase
[all...]

Completed in 96 milliseconds

12