Searched refs:img_path (Results 1 - 25 of 31) sorted by relevance

12

/pkg/src/tests/cli/
H A Dt_pkg_image_create.py168 def __verify_pub_cfg(self, img_path, prefix, pub_cfg):
175 img = image.Image(img_path, should_exist=True,
213 img_path = os.path.join(self.test_root, "test_4_img")
216 self.rurl1, img_path))
217 shutil.rmtree(img_path)
230 mirrors, origins, img_path))
232 self.pkg("-R {0} publisher | grep origin.*{1}".format(img_path,
236 img_path, u))
238 img_path, u))
239 shutil.rmtree(img_path, Tru
[all...]
H A Dt_pkg_R_option.py60 imgpath = self.img_path()
90 # and default test behaviour to use -R self.img_path() was
96 os.chdir(self.img_path())
97 self.assertEqual(os.getcwd(), self.img_path())
121 self.img_path()), use_img_root=False)
127 os.chdir(self.img_path())
H A Dt_pkg_terminal.py48 self.img_path() + " refresh"
51 self.img_path() + " BADCOMMAND"
61 self.img_path() + " refresh"
H A Dt_pkg_mediated.py475 fpath = os.path.join(self.img_path(), "usr",
480 fpath = os.path.join(self.img_path(), "usr",
486 lpath = os.path.join(self.img_path(), "usr",
491 lpath = os.path.join(self.img_path(), "usr",
496 lpath = os.path.join(self.img_path(), "usr",
502 lpath = os.path.join(self.img_path(), "usr",
508 lpath = os.path.join(self.img_path(), "usr",
514 lpath = os.path.join(self.img_path(), "usr",
1095 return os.path.join(self.img_path(), *parts)
H A Dt_client_api.py153 os.environ["PKG_IMAGE"] = self.img_path()
191 os.environ["PKG_IMAGE"] = self.img_path()
223 os.environ["PKG_IMAGE"] = self.img_path()
287 os.environ["PKG_IMAGE"] = self.img_path()
297 os.environ["PKG_IMAGE"] = self.img_path()
397 os.environ["PKG_IMAGE"] = self.img_path()
408 os.environ["PKG_IMAGE"] = self.img_path()
475 os.environ["PKG_IMAGE"] = self.img_path()
486 os.environ["PKG_IMAGE"] = self.img_path()
538 os.environ["PKG_IMAGE"] = self.img_path()
[all...]
H A Dt_pkg_nasty.py130 self.mfst_path = os.path.join(self.img_path(),
218 emptyCA = os.path.join(self.img_path(), "emptyCA")
247 path = os.path.join(self.img_path(), "A", "f1")
318 emptyCA = os.path.join(self.img_path(), "emptyCA")
384 imgdir = os.path.join(self.img_path(), "var", "pkg")
H A Dt_pkg_linked.py149 self.i_path.insert(i, self.img_path(i))
2541 self.i_path.insert(i, self.img_path(i))
2648 self.i_path.insert(i, self.img_path(i))
3306 self.i_path.insert(i, self.img_path(i))
3730 self.i_path.insert(i, self.img_path(i))
4041 name, self.img_path(i))
4197 self.i_path.insert(i, self.img_path(i))
4244 self.image_create(self.rurl1, destroy=False, img_path=p)
4393 tmp_path = os.path.join(self.img_path(0), "tmp")
4394 base_path = os.path.join(self.img_path(
[all...]
H A Dt_actuators.py530 zone_path = os.path.join(self.img_path(0), zname)
534 self.image_create(repourl=rurl, img_path=zimg_path)
536 self.img_path(0), zname, zimg_path))
H A Dt_pkg_publisher.py135 pub_cache_path = os.path.join(self.img_path(), "var", "pkg",
138 os.listdir(os.path.join(self.img_path(), "var", "pkg",
191 img_key_path = os.path.join(self.img_path(), "var", "pkg",
218 img_cert_path = os.path.join(self.img_path(), "var", "pkg",
348 img_key_path = os.path.join(self.img_path(), "var", "pkg",
351 img_cert_path = os.path.join(self.img_path(), "var", "pkg",
605 img_key_path = os.path.join(self.img_path(), "var", "pkg",
608 img_cert_path = os.path.join(self.img_path(), "var", "pkg",
1039 img_key_path = os.path.join(self.img_path(), "var", "pkg",
1042 img_cert_path = os.path.join(self.img_path(), "va
[all...]
H A Dt_fix.py447 old_img_path = self.img_path()
454 fpath = os.path.join(self.img_path(), "amber1")
750 fpath = os.path.join(self.img_path(), "amber1")
H A Dt_pkg_verify.py462 old_img_path = self.img_path()
469 fpath = os.path.join(self.img_path(),"p1/bobcat")
486 shutil.rmtree(self.img_path())
H A Dt_pkgsign.py336 emptyCA = os.path.join(self.img_path(), "emptyCA")
1469 pth = os.path.join(self.img_path(), "var", "pkg", "publisher",
1491 pth = os.path.join(self.img_path(), "var", "pkg", "publisher",
1897 self.assertTrue(os.path.exists(os.path.join(self.img_path(),
1900 os.path.join(self.img_path(), "bin")))
1908 os.path.join(self.img_path(), "baz")))
1910 os.path.join(self.img_path(), "bin")))
1919 self.assertTrue(os.path.exists(os.path.join(self.img_path(),
1921 self.assertTrue(not os.path.exists(os.path.join(self.img_path(),
1928 self.assertTrue(not os.path.exists(os.path.join(self.img_path(),
[all...]
H A Dt_pkg_install.py1146 old_img_path = self.img_path()
1156 fpath = os.path.join(self.img_path(),"p1/cat")
1165 fpath = os.path.join(self.img_path(),"p2/cat")
1184 shutil.rmtree(self.img_path())
1503 shutil.rmtree(os.path.join(self.img_path(),
1675 self.img_path(), "bin", "cat")))
1690 self.img_path(), "bin", "cat")))
4704 os.mkfifo(os.path.join(self.img_path(), "salvage", "fifo"))
4706 sock.bind(os.path.join(self.img_path(), "salvage", "socket"))
7357 live_root = self.img_path(
[all...]
H A Dt_pkg_temp_sources.py564 path = os.path.join(self.img_path(),
852 fpath = os.path.join(self.img_path(),
882 vpath = os.path.join(self.img_path(),
H A Dt_pkg_sysrepo.py551 pub_dir = os.path.join(self.img_path(), "var/pkg/publisher")
589 self.assertTrue(os.path.isdir(os.path.join(self.img_path(),
739 os.mkdir(self.img_path())
740 self.pkg("image-create {0}".format(self.img_path()))
754 os.mkdir(self.img_path())
755 self.pkg("image-create {0}".format(self.img_path()))
H A Dt_https.py110 opath = self.img_path()
H A Dt_pkg_freeze.py229 pth = os.path.join(self.img_path(), "var", "pkg", "state",
H A Dt_pkgsend.py848 name = os.path.join(self.img_path(), entry)
874 st = os.stat(os.path.join(self.img_path(), name))
878 self.img_path(), use_file=True), st.st_uid)
880 self.img_path(), use_file=True), st.st_gid)
H A Dt_pkg_image_update.py470 "{0}".format(self.img_path(1)))
H A Dt_pkg_refresh.py326 img_key_path = os.path.join(self.img_path(), "var", "pkg",
329 img_cert_path = os.path.join(self.img_path(), "var", "pkg",
/pkg/src/modules/client/
H A Dpkgremote.py109 def __rpc_server_fork(self, img_path,
113 'img_path' is the path to the image to manipulate.
122 "-R", img_path,
166 def __rpc_server_setup(self, img_path):
169 'img_path' is the path to the image to manipulate."""
185 self.__rpc_server_fork(img_path,
417 def setup(self, img_path, pkg_op, **kwargs):
420 'img_path' is the path to the image to manipulate.
427 self.__rpc_server_setup(img_path)
/pkg/src/tests/
H A Dpkg5unittest.py2398 def img_path(self, ii=None): member in class:CliTestCase
2405 return self.img_path()
2411 return os.path.join(self.img_path(), relpath)
2413 def get_img_api_obj(self, cmd_path=None, ii=None, img_path=None):
2416 cmd_path = os.path.join(self.img_path(), "pkg")
2417 if not img_path:
2418 img_path = self.img_path(ii=ii)
2419 res = pkg.client.api.ImageInterface(img_path,
2428 self.ta_dir = os.path.join(self.img_path(), "et
[all...]
/pkg/src/tests/api/
H A Dt_api.py329 self.assertEqual(api_obj.root, self.img_path())
335 path = self.img_path()
340 os.mkdir(self.img_path())
346 os.mkdir(self.img_path())
651 os.remove(os.path.join(self.img_path(), "lib/libc.so.1"))
H A Dt_linked_image.py360 self.i_path.insert(i, self.img_path())
1120 os.mkdir(os.path.join(self.img_path(), "etc/zones"),
1135 os.rmdir(os.path.join(self.img_path(), "etc/zones"))
1157 shutil.rmtree(os.path.join(self.img_path(), "var/pkg/linked"))
H A Dt_api_search.py1322 index_dir = os.path.join(self.img_path(), "var", "pkg",
1453 index_dir = os.path.join(self.img_path(), "var", "pkg",
1501 index_dir = os.path.join(self.img_path(), "var", "pkg",
1533 index_dir = os.path.join(self.img_path(), "var", "pkg",
1613 tmp_dir = os.path.join(self.img_path(), "var", "pkg",
1680 index_dir = os.path.join(self.img_path(), "var", "pkg",
2009 index_dir = os.path.join(self.img_path(), "var", "pkg",

Completed in 6513 milliseconds

12