summaryrefslogtreecommitdiff
path: root/test/pacman/tests/remove031.py
blob: 0ea09c87973c49ee033f867f7b53071e47ea6a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
self.description = "Remove a package in HoldPkg"

p1 = pmpkg("foopkg")
self.addpkg2db("local", p1)

self.option["HoldPkg"] = ["???pkg"]

self.args = "-R %s" % p1.name

self.addrule("PACMAN_RETCODE=1")
self.addrule("PKG_EXIST=foopkg")