summaryrefslogtreecommitdiff
path: root/pactest/tests/database002.py
diff options
context:
space:
mode:
Diffstat (limited to 'pactest/tests/database002.py')
-rw-r--r--pactest/tests/database002.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/pactest/tests/database002.py b/pactest/tests/database002.py
new file mode 100644
index 00000000..05fa7f4b
--- /dev/null
+++ b/pactest/tests/database002.py
@@ -0,0 +1,11 @@
+self.description = "-D --asexplicit"
+
+lp = pmpkg("pkg")
+lp.reason = 1
+self.addpkg2db("local", lp)
+
+self.args = "-D pkg --asexplicit"
+
+self.addrule("PACMAN_RETCODE=0")
+self.addrule("PKG_EXIST=pkg")
+self.addrule("PKG_REASON=pkg|0")