index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2007-07-16 11:30:55 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-16 09:20:17 -0400 |
commit | ab2354e762767e6088e43b6d1e615576701a7bdb (patch) | |
tree | 86f7ccf09e6a88d006b62ac536ce819e65eb87e2 /pactest/tests/remove046.py | |
parent | 1d97da9450c4fc62dd884f356d67d7a746fc09da (diff) |
-rw-r--r-- | pactest/tests/remove046.py | 10 |
diff --git a/pactest/tests/remove046.py b/pactest/tests/remove046.py new file mode 100644 index 00000000..1ee8be17 --- /dev/null +++ b/pactest/tests/remove046.py @@ -0,0 +1,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") |