summaryrefslogtreecommitdiff
path: root/test/pacman/tests/ignore006.py
blob: d80ff81fa2dfab6e64101fc4eeff0d59b4113d30 (plain)
1
2
3
4
5
6
7
8
9
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=1")
self.addrule("!PKG_EXIST=package1")