Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest/tests/mode002.py
blob: cc4a8fe8d2b0a943ec9ed91360f4dcaf73a9b17c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
self.description = "Check execute mode on files in a package"

p = pmpkg("pkg1")
p.files = ["bin/foo|755",
           "bin/bar|755"]
self.addpkg(p)

self.args = "-U %s" % p.filename()

self.addrule("PACMAN_RETCODE=0")
self.addrule("FILE_MODE=bin/foo|755")
self.addrule("FILE_MODE=bin/bar|755")