1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-01 16:15:04 -04:00
pacman/pactest/tests/remove046.py
Chantry Xavier ab2354e762 Add remove046 pactest for FS#7622.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
2007-07-16 09:20:17 -04:00

11 lines
249 B
Python

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")