index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-06-20 21:01:32 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-06-20 21:01:32 -0500 |
commit | 67d71ea932a18d27dbb87f4f364ae9159b4edc96 (patch) | |
tree | 9a22c8ea93c530d0e5794ee42523450a4976bec3 /test | |
parent | 59c47aaf529df02ec1577fe727c3c84d13592666 (diff) | |
parent | c2cf6a14cf44400d0ef249b38d37eb04d3424bf4 (diff) |
-rw-r--r-- | test/pacman/tests/ignore006.py | 10 |
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") |