index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Jakob Gruber <jakob.gruber@gmail.com> | 2010-09-24 14:22:35 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-18 16:51:38 -0500 |
commit | 9d0b33fd3327ae6d2b15f50870c0885a2068d492 (patch) | |
tree | aad7979fe70787d9553894e087fe62d5de3f31c2 | |
parent | 7237903c66af3997ac754df70cc8d25cefc8d1ae (diff) |
-rw-r--r-- | test/pacman/tests/ignore007.py | 23 |
diff --git a/test/pacman/tests/ignore007.py b/test/pacman/tests/ignore007.py new file mode 100644 index 00000000..e4be40a1 --- /dev/null +++ b/test/pacman/tests/ignore007.py @@ -0,0 +1,23 @@ +self.description = "Sync group with ignored packages" + +pkg1 = pmpkg("package1") +pkg1.groups = ["grp"] +self.addpkg2db("sync", pkg1) + +pkg2 = pmpkg("package2") +pkg2.groups = ["grp"] +self.addpkg2db("sync", pkg2) + +pkg3 = pmpkg("package3") +pkg3.groups = ["grp"] +self.addpkg2db("sync", pkg3) + +self.option["IgnorePkg"] = ["package1"] +self.args = "--ask=1 -S grp" + +self.addrule("PACMAN_RETCODE=0") +self.addrule("!PKG_EXIST=%s" % pkg1.name) +self.addrule("PKG_EXIST=%s" % pkg2.name) +self.addrule("PACMAN_OUTPUT=IgnorePkg") + +self.expectfailure = True |