/pkg/src/tests/cli/ |
H A D | t_pkg_image_create.py | 168 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 D | t_pkg_R_option.py | 60 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 D | t_pkg_terminal.py | 48 self.img_path() + " refresh" 51 self.img_path() + " BADCOMMAND" 61 self.img_path() + " refresh"
|
H A D | t_pkg_mediated.py | 475 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 D | t_client_api.py | 153 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 D | t_pkg_nasty.py | 130 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 D | t_pkg_linked.py | 149 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 D | t_actuators.py | 530 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 D | t_pkg_publisher.py | 135 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 D | t_fix.py | 447 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 D | t_pkg_verify.py | 462 old_img_path = self.img_path() 469 fpath = os.path.join(self.img_path(),"p1/bobcat") 486 shutil.rmtree(self.img_path())
|
H A D | t_pkgsign.py | 336 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 D | t_pkg_install.py | 1146 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 D | t_pkg_temp_sources.py | 564 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 D | t_pkg_sysrepo.py | 551 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 D | t_https.py | 110 opath = self.img_path()
|
H A D | t_pkg_freeze.py | 229 pth = os.path.join(self.img_path(), "var", "pkg", "state",
|
H A D | t_pkgsend.py | 848 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 D | t_pkg_image_update.py | 470 "{0}".format(self.img_path(1)))
|
H A D | t_pkg_refresh.py | 326 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 D | pkgremote.py | 109 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 D | pkg5unittest.py | 2398 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 D | t_api.py | 329 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 D | t_linked_image.py | 360 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 D | t_api_search.py | 1322 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",
|