summaryrefslogtreecommitdiff
path: root/pactest/tests/remove030.py
blob: 9e2b9da54e9534be2dbf6008f450f2245f48f470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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=0")
self.addrule("!PKG_EXIST=dummy")
self.addrule("!FILE_EXIST=etc/dummy.conf")
self.addrule("!FILE_PACSAVE=etc/dummy.conf")