1 self
.description
= "Scriptlet test (pre/post install)"
4 p1
.files
= ['etc/dummy.conf']
5 p1
.install
['pre_install'] = "echo foobar > pre_install"
6 p1
.install
['post_install'] = "echo foobar > post_install"
9 self
.args
= "-U %s" % p1
.filename()
11 self
.addrule("PACMAN_RETCODE=0")
12 self
.addrule("FILE_EXIST=pre_install")
13 self
.addrule("FILE_EXIST=post_install")
15 fakechroot
= util
.which("fakechroot")
17 self
.expectfailure
= True