summaryrefslogtreecommitdiffstats
path: root/pactest/tests/remove030.py
blob: e975a4ba2eb5ad6737a59a4419a252ba7cf1ff1a (plain)
1
2
3
4
5
6
7
8
9
10
11
self.description = "Remove a package in HoldPkg"

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

self.option["HoldPkg"] = ["dummy"]

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

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