summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/pacman005.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/tests/pacman005.py')
-rw-r--r--test/pacman/tests/pacman005.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/pacman/tests/pacman005.py b/test/pacman/tests/pacman005.py
new file mode 100644
index 00000000..bb21ad4f
--- /dev/null
+++ b/test/pacman/tests/pacman005.py
@@ -0,0 +1,8 @@
+self.description = "Test invalid combination of command line options (-Qy)"
+
+p = pmpkg("foobar")
+self.addpkg2db("local", p)
+
+self.args = "-Qy"
+
+self.addrule("PACMAN_RETCODE=1")