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