index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-04-04 19:24:02 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-04-04 19:24:02 -0500 |
commit | 15a1b06d36c24ec8d88bc5e49d2d8cdca468310f (patch) | |
tree | ae5ad68855ee15de657bae39dbc9588a6622ca4c /pactest/tests | |
parent | 76f816b9f764434d02e90207ee4656ebae2b6a8c (diff) |
-rw-r--r-- | pactest/tests/remove001.py | 10 |
diff --git a/pactest/tests/remove001.py b/pactest/tests/remove001.py new file mode 100644 index 00000000..809bfdb7 --- /dev/null +++ b/pactest/tests/remove001.py @@ -0,0 +1,10 @@ +# If someone else can come up with a better name, please do so +self.description = "Remove a package listed 5 times" + +p = pmpkg("foo") +self.addpkg2db("local", p) + +self.args = "-R " + "foo "*5 + +self.addrule("PACMAN_RETCODE=0") +self.addrule("!PKG_EXISTS=foo") |