Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-20 21:01:32 -0500
committerDan McGee <dan@archlinux.org>2010-06-20 21:01:32 -0500
commit67d71ea932a18d27dbb87f4f364ae9159b4edc96 (patch)
tree9a22c8ea93c530d0e5794ee42523450a4976bec3 /test
parent59c47aaf529df02ec1577fe727c3c84d13592666 (diff)
parentc2cf6a14cf44400d0ef249b38d37eb04d3424bf4 (diff)
Merge branch 'maint'
Diffstat (limited to 'test')
-rw-r--r--test/pacman/tests/ignore006.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/pacman/tests/ignore006.py b/test/pacman/tests/ignore006.py
new file mode 100644
index 00000000..4c1c1cac
--- /dev/null
+++ b/test/pacman/tests/ignore006.py
@@ -0,0 +1,10 @@
+self.description = "Sync with target in ignore list and say no"
+
+pkg = pmpkg("package1")
+self.addpkg2db("sync", pkg)
+
+self.option["IgnorePkg"] = ["package1"]
+self.args = "--ask=1 -S %s" % pkg.name
+
+self.addrule("PACMAN_RETCODE=0")
+self.addrule("!PKG_EXIST=package1")