summaryrefslogtreecommitdiff
path: root/pactest/tests/remove046.py
blob: 1ee8be178a2f8131761ccd2ea721f8539ee34cbf (plain)
1
2
3
4
5
6
7
8
9
10
self.description = "Cascade remove a package with a broken required by"

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

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

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