1 self
.description
= "Unowned symlink when pointing to different file"
4 lp
.files
= ["usr/bin/myprog"]
5 self
.addpkg2db("local", lp
)
7 self
.filesystem
= ["usr/bin/otherprog",
8 "usr/bin/myprogsuffix -> otherprog"]
10 p
= pmpkg("dummy", "1.0-2")
11 p
.files
= ["usr/bin/myprog",
12 "usr/bin/myprogsuffix -> myprog"]
15 self
.args
= "-U %s" % p
.filename()
17 self
.addrule("PACMAN_RETCODE=1")
18 self
.addrule("PKG_VERSION=dummy|1.0-1")
19 self
.addrule("FILE_EXIST=usr/bin/myprog")
20 self
.addrule("LINK_EXIST=usr/bin/myprogsuffix")
21 self
.addrule("FILE_EXIST=usr/bin/otherprog")
22 self
.addrule("FILE_TYPE=usr/bin/myprog|file")
23 self
.addrule("FILE_TYPE=usr/bin/myprogsuffix|link")
24 self
.addrule("FILE_TYPE=usr/bin/otherprog|file")