From ab2354e762767e6088e43b6d1e615576701a7bdb Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Mon, 16 Jul 2007 11:30:55 +0200 Subject: Add remove046 pactest for FS#7622. Signed-off-by: Chantry Xavier --- pactest/tests/remove046.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pactest/tests/remove046.py 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") -- cgit v1.2.3-70-g09d2