From f10fcfcb17c93269d3e2a3370c72fb71668628c1 Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Mon, 16 Jul 2007 11:30:55 +0200 Subject: [PATCH] Add remove046 pactest for FS#7622. Signed-off-by: Chantry Xavier --- pactest/tests/remove046.py | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 pactest/tests/remove046.py diff --git a/pactest/tests/remove046.py b/pactest/tests/remove046.py new file mode 100644 index 0000000..1ee8be1 --- /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") -- 1.5.2.2