Lines Matching refs:pkgrecv

171         # pkgrecv can have an identical file being present in multiple packages
302 self.pkgrecv(command="--newest", exit=2)
303 self.pkgrecv(self.durl1, "-!", exit=2)
304 self.pkgrecv(self.durl1, "-p foo", exit=2)
305 self.pkgrecv(self.durl1, "-d {0} gold@1.0-1".format(self.tempdir),
307 self.pkgrecv(self.durl1, "-d {0} invalid.fmri@1.0.a".format(
310 self.pkgrecv(self.durl1, "-d {0} --mog-file fakefile --clone"
313 self.pkgrecv(self.durl1, "-d {0} --mog-file fakefile --a amber@1.0"
316 self.pkgrecv(self.durl1, "-d {0} --mog-file ++ amber@1.0"
320 self.pkgrecv(command="-h", exit=0)
322 # Verify that pkgrecv requires a destination repository.
323 self.pkgrecv(self.durl1, "'*'", exit=2)
327 self.pkgrecv(self.durl1, "-d file://{0} foo".format(npath), exit=1)
330 self.pkgrecv(self.durl1, "--newest")
355 self.pkgrecv(self.durl1, "--raw -d {0} {1}".format(self.tempdir, f))
395 # First, pkgrecv the pkg to a directory. The files are
398 self.pkgrecv(self.durl1, "--raw -k -d {0} {1}".format(self.tempdir,
430 # Second, pkgrecv to the pkg to a file repository.
434 self.pkgrecv(self.durl1, "-d file://{0} {1}".format(npath, f))
467 # Third, pkgrecv to the pkg to a http repository from the
469 self.pkgrecv("file://{0}".format(npath), "-d {0} {1}".format(
509 # Fifth, pkgrecv the pkg to a file repository and compare the
515 self.pkgrecv(self.durl1, "-d file://{0} {1}".format(npath, f))
537 self.pkgrecv(self.durl1, "--raw -r -k -d {0} {1}".format(self.tempdir,
554 self.pkgrecv(self.durl1, "-r --mog-file {0} -d {1} {2}".format(
567 self.pkgrecv(self.durl1, "-r --raw --mog-file {0} -d {1} -v "
591 self.pkgrecv(self.durl1, "-r --raw --mog-file {0} -d {1} -v "
637 self.pkgrecv(self.durl1, "--raw -m all-timestamps -r -k "
658 self.pkgrecv(self.durl1, "--raw -m all-timestamps -r -k "
680 self.pkgrecv(self.durl1, "--raw -m all-versions -r -k "
701 self.pkgrecv(self.durl1, "--raw -m latest -r -k "
721 self.pkgrecv(self.durl1, "--raw -r -k "
739 """Verify that pkgrecv environment vars work as expected."""
747 self.pkgrecv(command="--raw {0}".format(f))
781 # First, pkgrecv tree into a file repository
785 self.pkgrecv(self.durl1, "-d file://{0} {1}".format(npath, f))
787 # Next, recursively pkgrecv bronze2.0 into a file repository
789 self.pkgrecv(self.durl1, "-r -d file://{0} {1}".format(npath, f2))
796 self.pkgrecv(self.durl1, "--mog-file {0} -d file://{1} {2}"
798 self.pkgrecv(self.durl1, "--mog-file {0} -r -d file://{1} {2}"
802 """Verify that pkgrecv handles multi-publisher repositories as
808 self.pkgrecv(self.durl1, "-d {0} amber@1.0 bronze@1.0".format(
813 self.pkgrecv(self.durl3, "-d {0} bronze".format(self.durl4))
814 self.pkgrecv(self.durl3, "--newest")
821 self.pkgrecv(self.durl3, "-d {0} amber".format(self.durl4))
822 self.pkgrecv(self.durl4, "--newest")
830 self.pkgrecv(self.durl1, "--mog-file {0} -d {1} amber@1.0 "
845 self.pkgrecv(self.durl3, "-d {0} nosuchpackage".format(self.durl4),
849 """Verify that pkgrecv handles package archives as expected."""
854 self.pkgrecv(self.durl1, "-d {0} amber@1.0 bronze@1.0".format(
859 self.pkgrecv(self.durl3, "-a -d {0} \*".format(arc_path))
895 self.pkgrecv(arc_path, "-a -d {0} pkg://test2/amber".format(arc2_path))
919 # Verify that pkgrecv gracefully fails if archive already
922 self.pkgrecv(arc_path, "-d {0} \*".format(arc2_path), exit=1)
928 self.pkgrecv(arc_path, "--newest")
929 self.pkgrecv(arc_path, "-d {0} pkg://test2/amber bronze".format(
933 self.pkgrecv(repo.root, "--newest")
951 self.pkgrecv(self.durl3, "-n -a -d {0} \*".format(arc_path))
959 self.pkgrecv(self.durl1, "-a --mog-file {0} --mog-file {1} "
999 """Test that the dry run option to pkgrecv works as expected."""
1006 self.pkgrecv(self.durl1, "-n -d {0} {1}".format(rpth, f))
1009 self.pkgrecv(self.durl1, "-r -n -d {0} {1}".format(rpth, f))
1012 self.pkgrecv(self.durl1, "--clone -n -p '*' -d {0}".format(rpth))
1016 self.pkgrecv(self.durl1, "-a -n -d {0} \*".format(arc_path))
1021 self.pkgrecv(self.durl1, "--raw -n -d {0} {1}".format(
1026 self.pkgrecv(self.durl1, "--raw -r -n -d {0} {1}".format(
1030 """Test that pkgrecv skips packages with actions it can't
1057 self.debug("\n\nNow pkgrecv'ing to {0}".format(duri))
1060 # otherwise pkgrecv will fail because the manifest
1066 self.pkgrecv(self.durl1, novalidate +
1075 self.pkgrecv(self.rurl1, novalidate +
1086 self.pkgrecv(self.durl1, novalidate +
1095 self.pkgrecv(self.rurl1, novalidate +
1141 """Verify that pkgrecv handles cloning repos as expected."""
1144 self.pkgrecv(self.durl1, "--clone -d {0}".format(self.dpath2))
1152 self.pkgrecv(self.durl1, "--clone -d {0}".format(self.dpath2))
1160 self.pkgrecv(self.durl1, "--clone -d {0}".format(self.dpath2), exit=1)
1165 self.pkgrecv(self.durl1, "--clone -d {0} -p test2".format(self.dpath2))
1172 self.pkgrecv(self.durl3, "--clone -d {0}".format(self.dpath2))
1184 self.pkgrecv(self.durl1, "--clone -d {0} -p test2 -p test1".format(
1191 self.pkgrecv(self.durl1, "--raw --clone -d {0} -p test2".format(
1195 self.pkgrecv(self.durl1, "-c /tmp/ --clone -d {0} -p test2".format(
1199 self.pkgrecv(self.durl1, "-a --clone -d {0} -p test2".format(
1203 self.pkgrecv(self.durl1, "--newest --clone -d {0} -p test2".format(
1222 self.pkgrecv(self.durl1, "-d {0} {1}".format(self.durl3, f))
1233 self.pkgrecv(self.durl1, "-d {0} {1}".format(self.durl3, f))
1246 self.pkgrecv(self.durl3, "-d {0} {1}".format(self.durl4, b))
1254 self.pkgrecv(self.durl3, "-ad {0} {1}".format(p5p_path, b))
1267 """Verify that pkgrecv handles verbose output as expected."""
1271 self.pkgrecv(self.dpath1, "-d {0} -n -v \*".format(self.tempdir))
1287 self.pkgrecv(self.dpath1, "-a -d {0} -n -v \*".format(self.tempdir))
1301 self.pkgrecv(self.dpath1, "--clone -d {0} -p \* -n -v" \
1316 self.pkgrecv(self.dpath1, "--mog-file {0} -d {1} -v \*".format(
1322 self.pkgrecv(self.dpath1, "-d {0} -v \*".format(self.tempdir))
1331 self.pkgrecv(self.durl5, "--mog-file {0} -d {1} -v filetrans1"
1334 self.pkgrecv(self.durl5, "--raw --mog-file {0} -d {1} "
1339 self.pkgrecv(self.durl5, "--mog-file {0} -d {1} -v filetrans1"
1342 self.pkgrecv(self.durl5, "--raw --mog-file {0} -d {1} "
1348 self.pkgrecv(self.durl5, "--mog-file {0} -d {1} -v filetrans1"
1351 self.pkgrecv(self.durl5, "--raw --mog-file {0} -d {1} -v "
1356 self.pkgrecv(self.durl5, "--mog-file {0} -d {1} -v filetrans1"
1359 self.pkgrecv(self.durl5, "--raw --mog-file {0} -d {1} -v "
1366 self.pkgrecv(self.durl5, "--mog-file {0} -d {1} -v filetrans1"
1371 self.pkgrecv(self.durl5, "--mog-file {0} -d {1} -v filetrans1"
1373 self.pkgrecv(self.durl5, "--raw --mog-file {0} -d {1} -v "
1387 self.pkgrecv(self.durl5, "--mog-file {0} -d {1} filetrans2"
1389 self.pkgrecv(self.durl5, "-v --raw --mog-file {0} -d {1} "
1401 self.pkgrecv(self.durl5, "--mog-file {0} -d {1} -v filetrans2"
1412 self.pkgrecv(self.durl5, "--mog-file {0} -d {1} -v filetrans3"
1424 self.pkgrecv(self.durl5, "--raw --mog-file {0} -d {1} -v "
1438 self.pkgrecv(self.durl5, "--mog-file {0} -d {1} -v signature"
1448 modified by pkgrecv. This is important if changes are made to
1477 # Create a new repository and pkgrecv package to that one so
1481 self.pkgrecv(rpath, "-d {0} \*".format(nrpath))
1494 # Now create another repository and pkgrecv package *without*
1499 self.pkgrecv(nrpath, "-d {0} \*".format(trpath))
1512 self.pkgrecv(nrpath, "--clone -d {0} -p \*".format(trpath))
1523 """Verify that older logic of republication in pkgrecv works."""
1531 self.pkgrecv(self.durl1, "-d {0} {1}".format(self.durl2, f))
1535 """"Verify that pkgrecv handles multiple publishers as
1543 self.pkgrecv(self.durl1, "-d {0} '*'".format(self.durl2))
1600 self.pkgrecv(self.surl, "--key {key} --cert {cert} "
1606 self.pkgrecv(self.surl, "--key {key} --cert {cert} "
1612 self.pkgrecv(self.surl, "--key {key} -d {dst} "
1617 self.pkgrecv(self.surl, "--key {key} --cert {cert} "
1622 self.pkgrecv(self.surl, "--cert {cert} "
1627 self.pkgrecv(self.surl, "--key {key} --cert {cert} "
1632 self.pkgrecv(self.surl, "--key {key} --cert {noexist} "
1637 self.pkgrecv(self.surl, "--key {key} --cert {cert} "
1642 self.pkgrecv(self.surl, "--key {noexist} --cert {cert} "
1647 self.pkgrecv(self.surl, "--key {key} --cert {cert} "
1652 self.pkgrecv(self.surl, "--key {key} --cert {empty} "
1657 self.pkgrecv(self.surl, "--key {key} --cert {cert} "
1662 self.pkgrecv(self.surl, "--key {empty} --cert {cert} "
1667 self.pkgrecv(self.surl, "--key {key} --cert {cert} "
1672 self.pkgrecv(self.surl, "--key {key} --cert {verboten} "
1677 self.pkgrecv(self.surl, "--key {key} --cert {cert} "
1682 self.pkgrecv(self.surl, "--key {verboten} --cert {cert} "
1687 self.pkgrecv(self.surl, "--key {key} --cert {cert} "