summaryrefslogtreecommitdiff
path: root/pactest/tests/config002.py
blob: 8efe5a04acda21c28b0bb842d4b168141a3b5ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
self.description = "Quick check for Include being parsed in [db]"

sp = pmpkg("dummy")
sp.files = ["bin/dummy",
            "usr/man/man1/dummy.1"]
self.addpkg2db("sync", sp)

self.db['sync'].option['Include'] = ['/dev/null']

self.args = "-Si %s" % sp.name

self.addrule("PACMAN_RETCODE=0")