mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-12 04:15:06 -05:00
pactest: remove001.py
* Test for duplicate remove targets (should succeed) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
76f816b9f7
commit
15a1b06d36
10
pactest/tests/remove001.py
Normal file
10
pactest/tests/remove001.py
Normal file
@ -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")
|
Loading…
Reference in New Issue
Block a user