index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2011-10-30 22:38:56 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-11-13 14:19:16 -0500 |
commit | 10241a6d766fcebb3dbc930facb3c1b2c6ab4992 (patch) | |
tree | 89d2ac8b1e3092749d1d9a3044c73f9ade2448e1 /test | |
parent | 902305f1633298ff0ef7cd2bfbed0e91aae91646 (diff) |
-rw-r--r-- | test/pacman/tests/remove031.py | 11 |
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") |