diff options
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) | |
download | pacman-ab2354e762767e6088e43b6d1e615576701a7bdb.tar.xz |
Add remove046 pactest for FS#7622.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'pactest/tests/remove046.py')
-rw-r--r-- | pactest/tests/remove046.py | 10 |
1 files changed, 10 insertions, 0 deletions
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") |