summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-21 04:01:32 +0200
committerDan McGee <dan@archlinux.org>2010-06-21 04:01:32 +0200
commit67d71ea932a18d27dbb87f4f364ae9159b4edc96 (patch)
tree9a22c8ea93c530d0e5794ee42523450a4976bec3 /test
parent59c47aaf529df02ec1577fe727c3c84d13592666 (diff)
parentc2cf6a14cf44400d0ef249b38d37eb04d3424bf4 (diff)
downloadpacman-67d71ea932a18d27dbb87f4f364ae9159b4edc96.tar.gz
pacman-67d71ea932a18d27dbb87f4f364ae9159b4edc96.tar.xz
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")