summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/remove001.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/tests/remove001.py')
-rw-r--r--test/pacman/tests/remove001.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pacman/tests/remove001.py b/test/pacman/tests/remove001.py
new file mode 100644
index 00000000..02d00a42
--- /dev/null
+++ b/test/pacman/tests/remove001.py
@@ -0,0 +1,9 @@
+self.description = "Remove a package listed 5 times"
+
+p = pmpkg("foo")
+self.addpkg2db("local", p)
+
+self.args = "-R " + "foo "*5
+
+self.addrule("PACMAN_RETCODE=1")
+self.addrule("PKG_EXIST=foo")