index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | pactest/tests/remove048.py | 10 |
diff --git a/pactest/tests/remove048.py b/pactest/tests/remove048.py new file mode 100644 index 00000000..2d9b4803 --- /dev/null +++ b/pactest/tests/remove048.py @@ -0,0 +1,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") |