From 10241a6d766fcebb3dbc930facb3c1b2c6ab4992 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 30 Oct 2011 22:38:56 -0400 Subject: add fnmatch support for HoldPkg Adds test remove031. Signed-off-by: Dave Reisner --- test/pacman/tests/remove031.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/pacman/tests/remove031.py (limited to 'test/pacman/tests') diff --git a/test/pacman/tests/remove031.py b/test/pacman/tests/remove031.py new file mode 100644 index 00000000..0ea09c87 --- /dev/null +++ b/test/pacman/tests/remove031.py @@ -0,0 +1,11 @@ +self.description = "Remove a package in HoldPkg" + +p1 = pmpkg("foopkg") +self.addpkg2db("local", p1) + +self.option["HoldPkg"] = ["???pkg"] + +self.args = "-R %s" % p1.name + +self.addrule("PACMAN_RETCODE=1") +self.addrule("PKG_EXIST=foopkg") -- cgit v1.2.3-70-g09d2