blob: f119f14f610ac4eff6e1e50f2bd66473c456314e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
self.description = "Check the types of default files in a package"
p = pmpkg("pkg1")
p.files = ["bin/foo"
"bin/bar"]
self.addpkg(p)
self.args = "-U %s" % p.filename()
self.addrule("PACMAN_RETCODE=0")
for f in p.files:
self.addrule("FILE_TYPE=%s|file" % f)
self.addrule("FILE_TYPE=bin/|dir")
|