summaryrefslogtreecommitdiffstats
path: root/pactest/tests/remove048.py
blob: 2d9b48039b15bdc2a7decc315b8d6daf98651fff (plain)
1
2
3
4
5
6
7
8
9
10
self.description = "Remove a package with a broken required by"

lp1 = pmpkg("pkg1")
lp1.requiredby = [ "dep" ]
self.addpkg2db("local", lp1)

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

self.addrule("PACMAN_RETCODE=0")
self.addrule("!PKG_EXIST=pkg1")