src/tests/api/t_pkglint.py
changeset 2498 baf8a27fe680
parent 2481 b65dd6830056
equal deleted inserted replaced
2497:75c7a2fd1d30 2498:baf8a27fe680
  1631 set name=info.classification value=org.opensolaris.category.2008:System/Core
  1631 set name=info.classification value=org.opensolaris.category.2008:System/Core
  1632 set name=pkg.summary value="Core Solaris Kernel"
  1632 set name=pkg.summary value="Core Solaris Kernel"
  1633 set name=variant.arch value=i386 value=sparc
  1633 set name=variant.arch value=i386 value=sparc
  1634 set name=pkg.lint.pkglint.action005.1.missing-deps value=pkg:/test/package value=pkg:/other/package
  1634 set name=pkg.lint.pkglint.action005.1.missing-deps value=pkg:/test/package value=pkg:/other/package
  1635 depend type=require fmri=test/package
  1635 depend type=require fmri=test/package
       
  1636 """
       
  1637 
       
  1638 expected_failures["okay_underscores.mf"] = []
       
  1639 broken_manifests["okay_underscores.mf"] = \
       
  1640 """
       
  1641 #
       
  1642 # Underscores in attribute names generate warnings, except for a few that are
       
  1643 # grandfathered in, locale facets, which have locale names in them, and
       
  1644 # version-lock facets, which take package names.
       
  1645 #
       
  1646 set name=pkg.fmri value=pkg://opensolaris.org/system/[email protected],5.11-0.141:20100603T215050Z
       
  1647 set name=org.opensolaris.consolidation value=osnet
       
  1648 set name=pkg.description value="core kernel software for a specific instruction-set architecture"
       
  1649 set name=info.classification value=org.opensolaris.category.2008:System/Core
       
  1650 set name=pkg.summary value="Core Solaris Kernel"
       
  1651 set name=variant.arch value=i386 value=sparc
       
  1652 depend type=incorporate fmri=system/[email protected] facet.version-lock.system/blah_blah=true
       
  1653 link path=usr/lib/locale/en_US.UTF-8/foo.mo target=bar.mo facet.locale.en_US=true
       
  1654 link path=usr/bin/foo1 target=bar restart_fmri=true
       
  1655 link path=usr/bin/foo2 target=bar refresh_fmri=true
       
  1656 link path=usr/bin/foo3 target=bar suspend_fmri=true
       
  1657 link path=usr/bin/foo4 target=bar disable_fmri=true
       
  1658 link path=usr/bin/foo5 target=bar reboot_needed=true
       
  1659 link path=usr/bin/foo6 target=bar clone_perms="* 0666 root root"
       
  1660 link path=usr/bin/foo7 target=bar original_name=SUNWcar:usr/bin/wazaap
  1636 """
  1661 """
  1637 
  1662 
  1638 class TestLogFormatter(log.LogFormatter):
  1663 class TestLogFormatter(log.LogFormatter):
  1639         """Records log messages to a buffer"""
  1664         """Records log messages to a buffer"""
  1640         def __init__(self):
  1665         def __init__(self):