summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/ignore006.py
blob: 4c1c1cac42a2e7bc32999c07d048977544258514 (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=0")
self.addrule("!PKG_EXIST=package1")