/pkg/src/tests/api/ |
H A D | t_pkg_api_fix.py | 32 import pkg.client.api_errors as api_errors namespace 59 self.pkg("verify")
|
H A D | t_pkg_api_hydrate.py | 32 import pkg.client.api_errors as api_errors namespace 69 self.pkg("verify")
|
H A D | t_solver.py | 32 import pkg.solver as solver namespace
|
H A D | t_variant.py | 34 import pkg.variant as variant namespace
|
H A D | t_bootenv.py | 33 import pkg.client.bootenv as bootenv namespace
|
H A D | t_imageconfig.py | 37 import pkg.client.imageconfig as imageconfig namespace 38 import pkg.portable as portable namespace
|
H A D | t_indexer.py | 31 import pkg.indexer as indexer namespace 32 import pkg.search_errors as se namespace 55 ('test1/optional', 'set', 'pkg.fmri', 'test1/optional'): [0], 56 ('optional', 'set', 'pkg.fmri', 'test1/optional'): [0], 57 ('5.11', 'set', 'pkg.fmri', 'test1/optional'): [0], 58 ('20091105T190147Z', 'set', 'pkg.fmri', 'test1/optional'): [0], 59 ('1.0', 'set', 'pkg.fmri', 'test1/optional'): [0] 63 ('20091105T190153Z', 'set', 'pkg.fmri', 'test1/core'): [0], 64 ('test1/core', 'set', 'pkg.fmri', 'test1/core'): [0], 65 ('1.0', 'set', 'pkg [all...] |
H A D | t_pkgtarfile.py | 38 import pkg.portable as portable namespace 39 import pkg.pkgtarfile as pkgtarfile namespace
|
H A D | t_sha512_t.py | 39 import pkg.sha512_t as sha512_t namespace
|
H A D | t_smf.py | 34 import pkg.smf as smf namespace 36 from pkg.client.debugvalues import DebugValues 88 # called from pkg.client.actuator using 'svcs -H -o fmri <string>'
|
/pkg/src/modules/flavor/ |
H A D | hardlink.py | 29 import pkg.flavor.base as base namespace
|
H A D | script.py | 30 import pkg.flavor.base as base namespace 31 import pkg.flavor.python as python namespace 33 from pkg.portable import PD_LOCAL_PATH, PD_PROTO_DIR 34 from pkg.misc import force_str
|
/pkg/src/modules/lint/ |
H A D | opensolaris.py | 29 import pkg.lint.base as base namespace 59 if "pkg.renamed" in manifest: 62 if "pkg.obsolete" in manifest: 70 "{pkg}").format(key=key, pkg=manifest.fmri),
|
/pkg/src/tests/interactive/ |
H A D | runprogress.py | 32 import pkg.client.progress as progress namespace 33 import pkg.misc as misc namespace 37 gettext.install("pkg", "/usr/share/locale")
|
H A D | runprintengine.py | 35 import pkg.client.printengine as printengine namespace 36 import pkg.misc as misc namespace 40 gettext.install("pkg", "/usr/share/locale")
|
/pkg/src/modules/client/ |
H A D | indexer.py | 33 import pkg.indexer as indexer namespace 34 import pkg.search_storage as ss namespace 35 from pkg.misc import EmptyI
|
H A D | firmware.py | 31 import pkg.misc as misc namespace 32 import pkg.pkgsubprocess as subprocess namespace 33 import pkg.portable as portable namespace 35 from pkg.client.debugvalues import DebugValues 36 from pkg.actions.generic import quote_attr_value 67 # pkg version may have the same dependency.
|
/pkg/src/modules/actions/ |
H A D | attribute.py | 34 import pkg.fmri namespace 35 import pkg.actions namespace 64 raise pkg.actions.InvalidActionError(str(self), 99 elif self.attrs["name"] in ("fmri", "pkg.fmri"): 100 fmri_obj = pkg.fmri.PkgFmri(self.attrs["value"]) 158 if name in ("pkg.summary", "pkg.obsolete", "pkg.renamed", 159 "pkg.description", "pkg [all...] |
/pkg/src/modules/ |
H A D | p5i.py | 34 import pkg.client.api_errors as api_errors namespace 35 import pkg.client.publisher as publisher namespace 36 import pkg.fmri as fmri namespace 42 """Reads the pkg(7) publisher JSON formatted data at 'location'
|
H A D | mediator.py | 28 import pkg.misc as misc namespace 29 import pkg.version as version namespace 63 the name of the implementation and 'version' is None or a pkg.version
|
/pkg/src/tests/cli/ |
H A D | t_lock.py | 33 import pkg.client.api_errors as api_errors namespace 34 import pkg.client.progress as progress namespace 35 import pkg.fmri as fmri namespace 36 import pkg.nrlock as nrlock namespace 149 # Verify that the pkg process will fail if the image is locked. 150 self.pkg("install foo", exit=7) 154 self.pkg("install foo") 165 self.pkg("uninstall foo") 190 # Verify that both pkg install and refresh generate an error 192 self.pkg("instal [all...] |
H A D | t_origin_cpu.py | 33 import pkg.portable as portable namespace 99 add depend type=origin root-image=true fmri=pkg:/feature/cpu check.version-type={1} check.include={2} 102 add depend type=origin root-image=true fmri=pkg:/feature/cpu check.version-type={4} check.exclude={5} 107 add depend type=origin root-image=true fmri=pkg:/feature/cpu 112 add depend type=origin root-image=true fmri=pkg:/feature/cpu dump_core=1 117 add depend type=origin root-image=true fmri=pkg:/feature/cpu 134 self.pkg("install -v A@1.0 B@1.0") 135 self.pkg("list -v") 137 self.pkg("install A@1.4", 1) 139 self.pkg("instal [all...] |
H A D | t_origin_fw.py | 33 import pkg.portable as portable namespace 89 add depend type=origin root-image=true fmri=pkg:/feature/firmware/fwenum check.minimum-version={1} 92 add depend type=origin root-image=true fmri=pkg:/feature/firmware/fwenum check.minimum-version={3} 97 add depend type=origin root-image=true fmri=pkg:/feature/firmware/fwenum 102 add depend type=origin root-image=true fmri=pkg:/feature/firmware/fwenum dump_core=1 107 add depend type=origin root-image=true fmri=pkg:/feature/firmware/no-such-enumerator 125 self.pkg("install A B") 126 self.pkg("list -v A@1.3 B@1.3") 129 self.pkg("verify A@1.1", 1) 133 self.pkg("instal [all...] |
H A D | t_pkg_R_option.py | 31 import pkg.portable as portable namespace 49 """Verify that pkg rejects invalid -R combos and values.""" 51 self.pkg("-@", exit=2) 52 self.pkg("-s status", exit=2) 53 self.pkg("-R status", exit=2) 54 self.pkg("-R / version", exit=2) 57 """Ensure that pkg explicit image specification works as 64 self.pkg("-R {0} list".format(badpath), exit=1) 65 self.pkg("-R {0} list".format(imgpath), exit=1) 67 self.pkg(" [all...] |
/pkg/src/modules/bundle/ |
H A D | SolarisPackageDatastreamBundle.py | 29 import pkg.misc as misc namespace 31 from pkg.sysvpkg import SolarisPackage, MultiPackageDatastreamException 32 from pkg.actions import * 33 from pkg.bundle.SolarisPackageDirBundle import SolarisPackageDirBundle 34 from pkg.bundle import InvalidBundleException 51 self.pkg = SolarisPackage(filename) 52 self.pkgname = self.pkg.pkginfo["PKG"] 62 self.hollow = self.pkg.pkginfo.get("SUNW_PKG_HOLLOW", 65 self.pkg.pkginfo) 76 for p in self.pkg [all...] |